mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 14:10:33 +03:00
nixos-install: use mountpoint as store
Otherwise, it's possible building a flake may cause the live CD to run out of memory.
This commit is contained in:
parent
262103717e
commit
3bbe4c322a
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ if [[ -z $system ]]; then
|
|||
else
|
||||
echo "building the flake in $flake..."
|
||||
nix "${flakeFlags[@]}" build "$flake#$flakeAttr.config.system.build.toplevel" \
|
||||
--extra-substituters "$sub" "${verbosity[@]}" \
|
||||
--store "$mountPoint" --extra-substituters "$sub" "${verbosity[@]}" \
|
||||
"${extraBuildFlags[@]}" "${lockFlags[@]}" --out-link "$outLink"
|
||||
fi
|
||||
system=$(readlink -f "$outLink")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue