mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 07:01:54 +00:00
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
|
||||
channelPath=
|
||||
system=
|
||||
|
||||
while [ "$#" -gt 0 ]; do
|
||||
i="$1"; shift 1
|
||||
|
Loading…
Reference in New Issue
Block a user