1
1
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:
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 ];