diff --git a/tests/nix-copy-closure.nix b/tests/nix-copy-closure.nix index 0dc147fb34e947d810bc61469b5d92d8b534e9d3..bb5db74107faa139b9d1f105d1858945b1d2721f 100644 --- a/tests/nix-copy-closure.nix +++ b/tests/nix-copy-closure.nix @@ -8,11 +8,11 @@ makeTest (let pkgA = pkgs.cowsay; pkgB = pkgs.wget; pkgC = pkgs.hello; in { nodes = { client = - { config, pkgs, ... }: + { config, lib, pkgs, ... }: { virtualisation.writableStore = true; virtualisation.pathsInNixDB = [ pkgA ]; nix.package = nix; - nix.binaryCaches = [ ]; + nix.binaryCaches = lib.mkForce [ ]; }; server = diff --git a/tests/remote-builds.nix b/tests/remote-builds.nix index b867f13b499519a27fbc7807746b8526c2efc934..18d4908300e78dba7549fea1e526c7b1f74d45fb 100644 --- a/tests/remote-builds.nix +++ b/tests/remote-builds.nix @@ -40,7 +40,7 @@ in builder2 = builder; client = - { config, pkgs, ... }: + { config, lib, pkgs, ... }: { nix.maxJobs = 0; # force remote building nix.distributedBuilds = true; nix.buildMachines = @@ -60,7 +60,7 @@ in virtualisation.writableStore = true; virtualisation.pathsInNixDB = [ config.system.build.extraUtils ]; nix.package = nix; - nix.binaryCaches = [ ]; + nix.binaryCaches = lib.mkForce [ ]; programs.ssh.extraConfig = "ConnectTimeout 30"; }; }; diff --git a/tests/setuid.nix b/tests/setuid.nix index 77e83c8d6c2c1300a0439eccb5ce01e37e7acabe..63d3c05cb8e5a1d5b3d5ef7732ceca19319fbe66 100644 --- a/tests/setuid.nix +++ b/tests/setuid.nix @@ -10,7 +10,7 @@ makeTest { { config, lib, pkgs, ... }: { virtualisation.writableStore = true; nix.package = nix; - nix.binaryCaches = [ ]; + nix.binaryCaches = lib.mkForce [ ]; nix.nixPath = [ "nixpkgs=${lib.cleanSource pkgs.path}" ]; virtualisation.pathsInNixDB = [ pkgs.stdenv pkgs.pkgsi686Linux.stdenv ]; };