about summary refs log tree commit diff
path: root/lib/customisation.nix
Commit message (Collapse)AuthorAge
* lib: add makeScopeThomas Tuegel2015-09-27
|
* Add function callPackagesWithEelco Dolstra2015-07-28
| | | | | | This is like callPackageWith, except that it expects the supplied function to return a *set* of packages. It will then make the individual packages overridable.
* Remove deepOverrideEelco Dolstra2015-07-28
| | | | | | | | It's unused, and also a bad idea: because it recursively recomputes every function argument and there is no sharing, you can get an exponential (?) blowup in evaluation time. For example, evaluating ‘linuxPackages.kernel’ takes 0.09s and ~13 MiB, but evaluating ‘linuxPackages.kernel.deepOverride {}’ takes 3.6s and ~305 MiB.
* Revert "Refactor mkFlag / shouldUsePkg into the nixpkgs libraries"Eelco Dolstra2015-06-04
| | | | This reverts commit 25a148fa196b944b3f134527da87e43d88c066f9.
* Refactor mkFlag / shouldUsePkg into the nixpkgs librariesWilliam A. Kennington III2015-05-22
|
* lib: cleanup a little bit, add traceIfJan Malakhovski2015-03-26
|
* Rename scrubDrv -> hydraJob and make it more effectiveEelco Dolstra2015-03-20
| | | | | | | | | 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.
* Revert "Revert "mkOverridable: Use functors to allow overridable functions""Shea Levy2015-01-13
| | | | | | | Original commit was reverted due to using features from a newer nix than hydra had, hydra has since been updated This reverts commit 07e726c85c8f36d3a27fb7254f09ac69c7b94c65.
* Revert "mkOverridable: Use functors to allow overridable functions"Rob Vermaas2015-01-13
| | | | This reverts commit 4ee556cfe9528a321f4a3746ca83f97feacf500e.
* mkOverridable: Use functors to allow overridable functionsShea Levy2015-01-09
|
* Add overrideDerivation to makeOverridable. Closes #4017Luca Bruno2014-10-18
|
* Replace hasAttr/getAttr calls with the ? and . operatorsEelco Dolstra2014-10-05
| | | | | For NixOS evaluation, this gives a ~21% reduction in the number of values allocated and a ~4% speedup. It's also more readable.
* Move pkgs/lib/ to lib/Eelco Dolstra2013-10-10