diff options
Diffstat (limited to 'tests/remote-builds.nix')
-rw-r--r-- | tests/remote-builds.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/remote-builds.nix b/tests/remote-builds.nix index 5e2688d1adcf..0f16026a428a 100644 --- a/tests/remote-builds.nix +++ b/tests/remote-builds.nix @@ -13,7 +13,7 @@ let { config, pkgs, ... }: { services.openssh.enable = true; virtualisation.writableStore = true; - environment.nix = nix; + nix.package = nix; }; # Trivial Nix expression to build remotely. @@ -25,7 +25,7 @@ let system = "i686-linux"; PATH = "''${utils}/bin"; builder = "''${utils}/bin/sh"; - args = [ "-c" "if [ ${toString nr} = 5 ]; then echo FAIL; exit 1; fi; echo Hello; mkdir $out $foo; cat /proc/sys/kernel/hostname > $out/host; ln -s $out $foo/bar; sleep 5" ]; + args = [ "-c" "if [ ${toString nr} = 5 ]; then echo FAIL; exit 1; fi; echo Hello; mkdir $out $foo; cat /proc/sys/kernel/hostname > $out/host; ln -s $out $foo/bar; sleep 10" ]; outputs = [ "out" "foo" ]; } ''; |