-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #266443 from amjoseph-nixpkgs/pr/lib-tests-no-aws-sdk
- Loading branch information
Showing
3 changed files
with
26 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ 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 (_: pkg: | ||
if builtins.isAttrs pkg | ||
then pkg.override { withAWS = false; } | ||
else pkg) | ||
pkgs.nixVersions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters