Eelco Dolstra
0461f35894
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.
2015-03-20 19:46:18 +01:00
Shea Levy
8921a8f53b
Revert "Revert "mkOverridable: Use functors to allow overridable functions""
...
Original commit was reverted due to using features from a newer nix than
hydra had, hydra has since been updated
This reverts commit 07e726c85c
.
2015-01-13 08:39:54 -05:00
Rob Vermaas
07e726c85c
Revert "mkOverridable: Use functors to allow overridable functions"
...
This reverts commit 4ee556cfe9
.
2015-01-13 13:53:11 +01:00
Shea Levy
4ee556cfe9
mkOverridable: Use functors to allow overridable functions
2015-01-09 13:26:34 -05:00
Luca Bruno
492dd14e78
Add overrideDerivation to makeOverridable. Closes #4017
2014-10-18 18:02:43 +02:00
Eelco Dolstra
97220c973f
Replace hasAttr/getAttr calls with the ? and . operators
...
For NixOS evaluation, this gives a ~21% reduction in the number of
values allocated and a ~4% speedup. It's also more readable.
2014-10-05 01:11:06 +02:00
Eelco Dolstra
5fef92c4a0
Move pkgs/lib/ to lib/
2013-10-10 13:28:21 +02:00