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
|
case "$i" in
|
||||||
-I)
|
-I)
|
||||||
given_path="$1"; shift 1
|
given_path="$1"; shift 1
|
||||||
absolute_path=$(readlink -m $given_path)
|
extraBuildFlags+=("$i" "$given_path")
|
||||||
extraBuildFlags+=("$i" "/mnt$absolute_path")
|
|
||||||
;;
|
;;
|
||||||
--root)
|
--root)
|
||||||
mountPoint="$1"; shift 1
|
mountPoint="$1"; shift 1
|
||||||
|
Loading…
Reference in New Issue
Block a user