diff options
author | Pierre Bourdon <delroth@gmail.com> | 2024-05-24 00:55:25 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@lix-systems> | 2024-05-24 00:55:25 +0000 |
commit | 6ade981476db29e5cb9b51d1db531eca4966b142 (patch) | |
tree | 4d7cd7d5ddf32ca1a1a92ca7ddafb56ff5f248b9 | |
parent | 00bf2b105d677461bda0a5ba9b29bedb350c1eb1 (diff) | |
parent | 6260563bed1dc09db72b8bf51bccb42b031dd015 (diff) |
Merge "nixos/tests: enable remoteBuilds tests against Nix 2.18" into main
-rw-r--r-- | tests/nixos/default.nix | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/tests/nixos/default.nix b/tests/nixos/default.nix index 9dd888916..354413a7c 100644 --- a/tests/nixos/default.nix +++ b/tests/nixos/default.nix @@ -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 @@ -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 @@ -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 |