Rename scrubDrv -> hydraJob and make it more effective

It now strictly evaluates all remaining attributes, preventing
unevaluated thunks that cannot be garbage-collected. It's also applied
to all jobs in Nixpkgs' release.nix.

This reduces hydra-eval-jobs' memory consumption on the 14.12
release-combined jobset from 5.1 GB to 2.0 GB.
This commit is contained in:
Eelco Dolstra
2015-03-20 19:46:18 +01:00
parent 738cf42639
commit 0461f35894
5 changed files with 73 additions and 40 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ rec {
a derivation for each supported platform, i.e. { x86_64-linux =
f pkgs_x86_64_linux; i686-linux = f pkgs_i686_linux; ... }. */
testOn = systems: f: genAttrs
(filter (x: elem x supportedSystems) systems) (system: f (pkgsFor system));
(filter (x: elem x supportedSystems) systems) (system: hydraJob (f (pkgsFor system)));
/* Similar to the testOn function, but with an additional