Merge pull request #5390 from abbradar/nixos-isntall

nixos-install: fix -I flag
This commit is contained in:
Domen Kožar 2014-12-23 18:15:14 +01:00
commit a4961f09f6

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