nixos-install: fix -I flag

This commit is contained in:
Nikolay Amiantov 2014-12-18 22:43:05 +03:00
parent 86971fd33b
commit 22eb0e22d3

View file

@ -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