forked from mirrors/nixpkgs
nixos-install.sh: added --root parameter
Previously: - setting the mountpoint was only possible through an environment variable - a discrepancy from nixos-generate-config, which has --root
This commit is contained in:
parent
3df019067d
commit
1d67ea1ce3
|
@ -30,6 +30,9 @@ while [ "$#" -gt 0 ]; do
|
|||
absolute_path=$(readlink -m $given_path)
|
||||
extraBuildFlags+=("$i" "/mnt$absolute_path")
|
||||
;;
|
||||
--root)
|
||||
mountPoint="$1"; shift 1
|
||||
;;
|
||||
--show-trace)
|
||||
extraBuildFlags+=("$i")
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue