at 25.11-pre 673 B view raw
1{ 2 lib ? pkgs.lib, 3 pkgs, 4}: 5 6# The aws-sdk-cpp tests are flaky. Since pull requests to staging 7# cause nix to be rebuilt, this means that staging PRs end up 8# getting false CI failures due to whatever is flaky in the AWS 9# SDK tests. Since none of our CI needs to (or should be able to) 10# contact AWS S3, let's just omit it all from the Nix that runs 11# CI. Bonus: the tests build way faster. 12# 13# See also: https://github.com/NixOS/nix/issues/7582 14 15builtins.mapAttrs ( 16 attr: pkg: 17 if lib.versionAtLeast pkg.version "2.29pre" then 18 pkg.overrideScope (finalScope: prevScope: { aws-sdk-cpp = null; }) 19 else 20 pkg.override { withAWS = false; } 21) pkgs.nixVersions