Use --extra-experimental-features as opposed to --experimental-features

This commit is contained in:
Zhaofeng Li 2022-09-18 17:27:46 -06:00
parent d4dcf1c6e9
commit 695ec0c36f
4 changed files with 5 additions and 5 deletions

View file

@ -17,7 +17,7 @@ in tools.makeTest {
deployer.succeed("sed -i 's @nixpkgs@ path:${pkgs._inputs.nixpkgs.outPath}?narHash=${pkgs._inputs.nixpkgs.narHash} g' /tmp/bundle/flake.nix")
with subtest("Lock flake dependencies"):
deployer.succeed("cd /tmp/bundle && nix --experimental-features \"nix-command flakes\" flake lock")
deployer.succeed("cd /tmp/bundle && nix --extra-experimental-features \"nix-command flakes\" flake lock")
with subtest("Deploy with a plain flake without git"):
deployer.succeed("cd /tmp/bundle && ${tools.colmenaExec} apply --on @target --evaluator ${evaluator}")