shell.nix: pass command line options to build-iso

This commit is contained in:
Timothy DeHerrera 2020-07-16 15:17:12 -06:00
parent 857537342a
commit 27fe99a85d
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122

View file

@ -3,7 +3,7 @@ let
configs = "${toString ./.}#nixosConfigurations";
buildIso = pkgs.writeShellScriptBin "build-iso" ''
nix build ${configs}.niximg.config.system.build.isoImage
nix build ${configs}.niximg.config.system.build.isoImage $@
'';
in pkgs.mkShell {
nativeBuildInputs = with pkgs; [ git git-crypt nixFlakes buildIso ];