shell.nix: pass command line options to build-iso
This commit is contained in:
parent
857537342a
commit
27fe99a85d
1 changed files with 1 additions and 1 deletions
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue