mirror of
https://github.com/divnix/digga.git
synced 2024-12-24 00:21:47 +03:00
shell.nix: pass command line options to build-iso
This commit is contained in:
parent
857537342a
commit
27fe99a85d
@ -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 New Issue
Block a user