Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
22 lines
673 B
Nix
22 lines
673 B
Nix
{
|
|
lib ? pkgs.lib,
|
|
pkgs,
|
|
}:
|
|
|
|
# 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 from the Nix that runs
|
|
# CI. Bonus: the tests build way faster.
|
|
#
|
|
# See also: https://github.com/NixOS/nix/issues/7582
|
|
|
|
builtins.mapAttrs (
|
|
attr: pkg:
|
|
if lib.versionAtLeast pkg.version "2.29pre" then
|
|
pkg.overrideScope (finalScope: prevScope: { aws-sdk-cpp = null; })
|
|
else
|
|
pkg.override { withAWS = false; }
|
|
) pkgs.nixVersions
|