Merge pull request #84 from blaggacao/patch-5

Shell: pass flags to iso build
This commit is contained in:
Timothy DeHerrera 2021-01-11 15:56:55 -07:00 committed by GitHub
commit dee6d77c09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ let
if [[ -z "$1" ]]; then
echo "Usage: $(basename "$0") [ iso | install {host} | {host} [switch|boot|test] ]"
elif [[ "$1" == "iso" ]]; then
nix build ${configs}.niximg.${build}.isoImage
nix build ${configs}.niximg.${build}.isoImage "${"\${@:2}"}"
elif [[ "$1" == "install" ]]; then
sudo nixos-install --flake ".#$2" "${"\${@:3}"}"
else