mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
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() {
|
||||
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
Block a user