From 54c9a08aaf98d6d3fd94dc843003360077bee4cc Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Thu, 9 Nov 2023 02:08:44 -0800 Subject: lib.tests: build nix without flaky aws-sdk-cpp The aws-sdk-cpp tests are flaky. Since pull requests to staging cause nix to be rebuilt, this means that staging PRs end up getting false CI failures due to whatever is flaky in the AWS SDK tests. Since none of our CI needs to (or should be able to) contact AWS S3, let's just omit it all. Bonus: the tests build way faster. --- lib/tests/release.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/tests/release.nix') diff --git a/lib/tests/release.nix b/lib/tests/release.nix index c8d6b810122ec..1286ccf385ffb 100644 --- a/lib/tests/release.nix +++ b/lib/tests/release.nix @@ -1,8 +1,9 @@ { # The pkgs used for dependencies for the testing itself # Don't test properties of pkgs.lib, but rather the lib in the parent directory pkgs ? import ../.. {} // { lib = throw "pkgs.lib accessed, but the lib tests should use nixpkgs' lib path directly!"; }, - nix ? pkgs.nix, - nixVersions ? [ pkgs.nixVersions.minimum nix pkgs.nixVersions.unstable ], + nix ? pkgs-nixVersions.stable, + nixVersions ? [ pkgs-nixVersions.minimum nix pkgs-nixVersions.unstable ], + pkgs-nixVersions ? import ./nix-for-tests.nix { inherit pkgs; }, }: let -- cgit 1.4.1