diff --git a/pkgs/nix-tools/darwin-rebuild.sh b/pkgs/nix-tools/darwin-rebuild.sh index 3b4fb08f..22a3f908 100644 --- a/pkgs/nix-tools/darwin-rebuild.sh +++ b/pkgs/nix-tools/darwin-rebuild.sh @@ -112,7 +112,7 @@ done if [ -z "$action" ]; then showSyntax; fi -flakeFlags=(--experimental-features 'nix-command flakes') +flakeFlags=(--extra-experimental-features 'nix-command flakes') if [ -n "$flake" ]; then if [[ $flake =~ ^(.*)\#([^\#\"]*)$ ]]; then