forked from pub-solar/os
Merge pull request #84 from blaggacao/patch-5
Shell: pass flags to iso build
This commit is contained in:
commit
dee6d77c09
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue