Merge pull request #126513 from chkno/flakesFlags
nixos-rebuild: Pass flakes flags when doing local flakes build
This commit is contained in:
commit
6a1ca229f5
@ -215,7 +215,7 @@ nixBuild() {
|
|||||||
|
|
||||||
nixFlakeBuild() {
|
nixFlakeBuild() {
|
||||||
if [ -z "$buildHost" ]; then
|
if [ -z "$buildHost" ]; then
|
||||||
nix build "$@" --out-link "${tmpDir}/result"
|
nix "${flakeFlags[@]}" build "$@" --out-link "${tmpDir}/result"
|
||||||
readlink -f "${tmpDir}/result"
|
readlink -f "${tmpDir}/result"
|
||||||
else
|
else
|
||||||
local attr="$1"
|
local attr="$1"
|
||||||
|
Loading…
Reference in New Issue
Block a user