1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-03 23:51:00 +01:00

packaging/hydra: buildNoGC is the same as buildWithSanitizers

This will reduce the load on hydra. It doesn't make sense to
build 2 slightly different variations where the difference
is only in the nix-perl-bindings and additional sanitizers.
This commit is contained in:
Sergei Zimmerman 2025-10-12 22:10:35 +03:00
parent 4f585dedbe
commit 89b35ec0dc
No known key found for this signature in database

View file

@ -73,7 +73,7 @@ let
] ]
); );
in in
{ rec {
/** /**
An internal check to make sure our package listing is complete. An internal check to make sure our package listing is complete.
*/ */
@ -145,18 +145,9 @@ in
) )
); );
buildNoGc = # Builds with sanitizers already have GC disabled, so this buildNoGc can just
let # point to buildWithSanitizers in order to reduce the load on hydra.
components = forAllSystems ( buildNoGc = buildWithSanitizers;
system:
nixpkgsFor.${system}.native.nixComponents2.overrideScope (
self: super: {
nix-expr = super.nix-expr.override { enableGC = false; };
}
)
);
in
forAllPackages (pkgName: forAllSystems (system: components.${system}.${pkgName}));
buildWithSanitizers = buildWithSanitizers =
let let