nixos-rebuild: Pass flakes flags when doing local flakes build
(cherry picked from commit 1c80856545fd1234ba84b8981d26ca8e786376c2)
This commit is contained in:
parent
2311321709
commit
c764b9f946
|
@ -216,7 +216,7 @@ nixBuild() {
|
|||
|
||||
nixFlakeBuild() {
|
||||
if [ -z "$buildHost" ]; then
|
||||
nix build "$@" --out-link "${tmpDir}/result"
|
||||
nix "${flakeFlags[@]}" build "$@" --out-link "${tmpDir}/result"
|
||||
readlink -f "${tmpDir}/result"
|
||||
else
|
||||
local attr="$1"
|
||||
|
|
Loading…
Reference in New Issue