Merge pull request #183600 from K900/fix-nixos-rebuild-flake-args
nixos-rebuild: always set flakeFlags
This commit is contained in:
@@ -20,7 +20,7 @@ origArgs=("$@")
|
||||
copyClosureFlags=()
|
||||
extraBuildFlags=()
|
||||
lockFlags=()
|
||||
flakeFlags=()
|
||||
flakeFlags=(--extra-experimental-features 'nix-command flakes')
|
||||
action=
|
||||
buildNix=1
|
||||
fast=
|
||||
@@ -120,7 +120,6 @@ while [ "$#" -gt 0 ]; do
|
||||
;;
|
||||
--flake)
|
||||
flake="$1"
|
||||
flakeFlags=(--extra-experimental-features 'nix-command flakes')
|
||||
shift 1
|
||||
;;
|
||||
--no-flake)
|
||||
|
||||
Reference in New Issue
Block a user