mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
Merge pull request #5390 from abbradar/nixos-isntall
nixos-install: fix -I flag
This commit is contained in:
commit
a4961f09f6
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue