mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 20:49:52 +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
@ -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…
Reference in New Issue
Block a user