about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorajs124 <ajs124@users.noreply.github.com>2022-04-22 19:02:54 +0100
committerGitHub <noreply@github.com>2022-04-22 19:02:54 +0100
commit1f9af33e1f6dac8acf42b4b40da26d8594941ae1 (patch)
tree77ec30beb2eaa90d7839f35562cb121bc3adda64 /nixos
parent3e5baa14fbc08be30efd0b1541ff71d063bd3db4 (diff)
parent13c6b4aee5153904b4a158e2f481cc74bf593f87 (diff)
downloadnixlib-1f9af33e1f6dac8acf42b4b40da26d8594941ae1.tar
nixlib-1f9af33e1f6dac8acf42b4b40da26d8594941ae1.tar.gz
nixlib-1f9af33e1f6dac8acf42b4b40da26d8594941ae1.tar.bz2
nixlib-1f9af33e1f6dac8acf42b4b40da26d8594941ae1.tar.lz
nixlib-1f9af33e1f6dac8acf42b4b40da26d8594941ae1.tar.xz
nixlib-1f9af33e1f6dac8acf42b4b40da26d8594941ae1.tar.zst
nixlib-1f9af33e1f6dac8acf42b4b40da26d8594941ae1.zip
Merge pull request #166117 from chkno/fix-nar-serve
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)