diff options
| author | Adam Joseph <adam@westernsemico.com> | 2023-11-09 02:08:44 -0800 |
|---|---|---|
| committer | Adam Joseph <adam@westernsemico.com> | 2023-11-18 20:19:10 -0800 |
| commit | 54c9a08aaf98d6d3fd94dc843003360077bee4cc (patch) | |
| tree | 52df01c7e4ef2a6910e8491630ce46a05d6c753c /lib/path/tests | |
| parent | Merge pull request #266153 from andresilva/polkadot-v1.3.0 (diff) | |
| download | nixpkgs-54c9a08aaf98d6d3fd94dc843003360077bee4cc.tar.gz | |
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.
Diffstat (limited to 'lib/path/tests')
| -rw-r--r-- | lib/path/tests/default.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/path/tests/default.nix b/lib/path/tests/default.nix index 50d40cdfa476..93aea798acca 100644 --- a/lib/path/tests/default.nix +++ b/lib/path/tests/default.nix @@ -6,16 +6,19 @@ overlays = []; inherit system; }, + nixVersions ? import ../../tests/nix-for-tests.nix { inherit pkgs; }, libpath ? ../.., # Random seed seed ? null, }: + pkgs.runCommand "lib-path-tests" { - nativeBuildInputs = with pkgs; [ - nix + nativeBuildInputs = [ + nixVersions.stable + ] ++ (with pkgs; [ jq bc - ]; + ]); } '' # Needed to make Nix evaluation work export TEST_ROOT=$(pwd)/test-tmp |
