nixos/nixos-install: Unset system
The system variable is used from the (possibly polluted) shell environment. This causes nixos-install to fail in a nix-shell because the system shell variable is automatically set to the current system (e.g. x86_64-linux).
This commit is contained in:
parent
4207f01f27
commit
7748c3da1b
@ -13,6 +13,7 @@ extraBuildFlags=()
|
|||||||
|
|
||||||
mountPoint=/mnt
|
mountPoint=/mnt
|
||||||
channelPath=
|
channelPath=
|
||||||
|
system=
|
||||||
|
|
||||||
while [ "$#" -gt 0 ]; do
|
while [ "$#" -gt 0 ]; do
|
||||||
i="$1"; shift 1
|
i="$1"; shift 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user