about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorScott Worley <scottworley@scottworley.com>2022-03-28 09:05:20 -0700
committerScott Worley <scottworley@scottworley.com>2022-03-28 09:05:20 -0700
commit13c6b4aee5153904b4a158e2f481cc74bf593f87 (patch)
tree3ea320c885bbeaf06f26b9da479d53bdcce059cc /nixos
parentd037e72af94319c963d09f793ea5a9a2878c2d7f (diff)
downloadnixlib-13c6b4aee5153904b4a158e2f481cc74bf593f87.tar
nixlib-13c6b4aee5153904b4a158e2f481cc74bf593f87.tar.gz
nixlib-13c6b4aee5153904b4a158e2f481cc74bf593f87.tar.bz2
nixlib-13c6b4aee5153904b4a158e2f481cc74bf593f87.tar.lz
nixlib-13c6b4aee5153904b4a158e2f481cc74bf593f87.tar.xz
nixlib-13c6b4aee5153904b4a158e2f481cc74bf593f87.tar.zst
nixlib-13c6b4aee5153904b4a158e2f481cc74bf593f87.zip
nixos/tests/nar-serve: Fix after nix version bump
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/nar-serve.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/nar-serve.nix b/nixos/tests/nar-serve.nix
index 9ee738ffb170..bb95ccb36911 100644
--- a/nixos/tests/nar-serve.nix
+++ b/nixos/tests/nar-serve.nix
@@ -31,7 +31,7 @@ import ./make-test-python.nix (
 
       # Create a fake cache with Nginx service the static files
       server.succeed(
-          "nix copy --to file:///var/www ${pkgs.hello}"
+          "nix --experimental-features nix-command copy --to file:///var/www ${pkgs.hello}"
       )
       server.wait_for_unit("nginx.service")
       server.wait_for_open_port(80)