aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/nix-copy-closure.nix6
-rw-r--r--tests/remote-builds.nix4
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/nix-copy-closure.nix b/tests/nix-copy-closure.nix
index 66c19a45d..bfd708404 100644
--- a/tests/nix-copy-closure.nix
+++ b/tests/nix-copy-closure.nix
@@ -4,14 +4,14 @@
with import <nixpkgs/nixos/lib/testing.nix> { inherit system; };
-makeTest ({ pkgs, ... }: let pkgA = pkgs.aterm; pkgB = pkgs.wget; in {
+makeTest (let pkgA = pkgs.aterm; pkgB = pkgs.wget; in {
nodes =
{ client =
{ config, pkgs, ... }:
{ virtualisation.writableStore = true;
virtualisation.pathsInNixDB = [ pkgA ];
- environment.nix = nix;
+ nix.package = nix;
};
server =
@@ -19,7 +19,7 @@ makeTest ({ pkgs, ... }: let pkgA = pkgs.aterm; pkgB = pkgs.wget; in {
{ services.openssh.enable = true;
virtualisation.writableStore = true;
virtualisation.pathsInNixDB = [ pkgB ];
- environment.nix = nix;
+ nix.package = nix;
};
};
diff --git a/tests/remote-builds.nix b/tests/remote-builds.nix
index 56514e174..571cdfbdd 100644
--- a/tests/remote-builds.nix
+++ b/tests/remote-builds.nix
@@ -4,7 +4,7 @@
with import <nixpkgs/nixos/lib/testing.nix> { inherit system; };
-makeTest ({ pkgs, ... }:
+makeTest (
let
@@ -57,7 +57,7 @@ in
];
virtualisation.writableStore = true;
virtualisation.pathsInNixDB = [ config.system.build.extraUtils ];
- environment.nix = nix;
+ nix.package = nix;
};
};