forked from mirrors/nixpkgs
nixos-install: fix -I flag
This commit is contained in:
parent
86971fd33b
commit
22eb0e22d3
|
@ -30,8 +30,7 @@ while [ "$#" -gt 0 ]; do
|
|||
case "$i" in
|
||||
-I)
|
||||
given_path="$1"; shift 1
|
||||
absolute_path=$(readlink -m $given_path)
|
||||
extraBuildFlags+=("$i" "/mnt$absolute_path")
|
||||
extraBuildFlags+=("$i" "$given_path")
|
||||
;;
|
||||
--root)
|
||||
mountPoint="$1"; shift 1
|
||||
|
|
Loading…
Reference in a new issue