mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
Merge pull request #5390 from abbradar/nixos-isntall
nixos-install: fix -I flag
This commit is contained in:
commit
a4961f09f6
@ -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 New Issue
Block a user