mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 03:56:01 +01:00
Merge pull request #14229 from NixOS/reduce-hydra-load
packaging/hydra: buildNoGC is the same as buildWithSanitizers
This commit is contained in:
commit
be2c9ef44c
1 changed files with 4 additions and 13 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue