nixos/tests: enable remoteBuilds tests against Nix 2.18

Fixes #321.

Change-Id: I60812aec9f9b68ab742413835c581d3b53432b9b
This commit is contained in:
Pierre Bourdon 2024-05-23 21:16:40 +02:00
parent 79121e0c44
commit 6260563bed
Signed by: delroth
GPG key ID: 6FB80DCD84DA0F1C

View file

@ -62,7 +62,14 @@ in
}; };
}); });
# TODO: (nixpkgs update) remoteBuilds_remote_2_18 = ... remoteBuilds_remote_2_18 = runNixOSTestFor "x86_64-linux" ({ lib, pkgs, ... }: {
name = "remoteBuilds_remote_2_18";
imports = [ ./remote-builds.nix ];
builders.config = { lib, pkgs, ... }: {
imports = [ checkOverrideNixVersion ];
nix.package = lib.mkForce pkgs.nixVersions.nix_2_18;
};
});
# Test our Nix as a builder for clients that are older # Test our Nix as a builder for clients that are older
@ -84,7 +91,14 @@ in
}; };
}); });
# TODO: (nixpkgs update) remoteBuilds_local_2_18 = ... remoteBuilds_local_2_18 = runNixOSTestFor "x86_64-linux" ({ lib, pkgs, ... }: {
name = "remoteBuilds_local_2_18";
imports = [ ./remote-builds.nix ];
nodes.client = { lib, pkgs, ... }: {
imports = [ checkOverrideNixVersion ];
nix.package = lib.mkForce pkgs.nixVersions.nix_2_18;
};
});
# End remoteBuilds tests # End remoteBuilds tests
@ -110,7 +124,14 @@ in
}; };
}; };
# TODO: (nixpkgs update) remoteBuildsSshNg_remote_2_18 = ... remoteBuildsSshNg_remote_2_18 = runNixOSTestFor "x86_64-linux" {
name = "remoteBuildsSshNg_remote_2_18";
imports = [ ./remote-builds-ssh-ng.nix ];
builders.config = { lib, pkgs, ... }: {
imports = [ checkOverrideNixVersion ];
nix.package = lib.mkForce pkgs.nixVersions.nix_2_18;
};
};
# Test our Nix as a builder for clients that are older # Test our Nix as a builder for clients that are older