reducing text exclusions #85

Merged
Richie merged 14 commits from feature/reducing-text-exclusions into main 2026-09-29 14:48:15 -04:00
2 changed files with 0 additions and 22 deletions
Showing only changes of commit e038a44cb6 - Show all commits

No files matched your search

-2
View File
@@ -16,6 +16,4 @@
}; };
patches = import ./patches; patches = import ./patches;
test-exclusions = import ./test-exclusions.nix;
x86-64-v3-workarounds = import ./x86-64-v3-workarounds.nix;
} }
-20
View File
@@ -1,20 +0,0 @@
# Output-validation workarounds for packages rebuilt with x86-64-v3.
_final: prev:
let
removeSiblingOutputChecks =
package:
package.overrideAttrs (old: {
# Nix 2.34 can validate a partial multi-output rebuild against only the
# outputs still being realised. PostgreSQL's checks then reject valid
# sibling names such as "out" and "lib". Keep the test suite and
# disallowed-requisite checks; accept the loss of cross-output checks.
outputChecks = builtins.mapAttrs (
_output: checks: builtins.removeAttrs checks [ "disallowedReferences" ]
) (old.outputChecks or { });
});
in
prev.lib.optionalAttrs ((prev.stdenv.hostPlatform.gcc.arch or null) == "x86-64-v3") {
postgresql = removeSiblingOutputChecks prev.postgresql;
postgresql_18 = removeSiblingOutputChecks prev.postgresql_18;
}