mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 01:24:09 +01:00
top-level/by-name-overlay: remove optimization TODO
We tried to apply this, but this won't consistently help performance. While it can potentially make full eval a tad faster, we'd pay the price when evaluating single packages.
This commit is contained in:
parent
cab0f8f3a1
commit
cad599f352
1 changed files with 0 additions and 4 deletions
|
|
@ -41,10 +41,6 @@ let
|
|||
# if the overlay has to be applied multiple times
|
||||
packageFiles = mergeAttrsList (mapAttrsToList namesForShard (readDir baseDirectory));
|
||||
in
|
||||
# TODO: Consider optimising this using `builtins.deepSeq packageFiles`,
|
||||
# which could free up the above thunks and reduce GC times.
|
||||
# Currently this would be hard to measure until we have more packages
|
||||
# and ideally https://github.com/NixOS/nix/pull/8895
|
||||
self: super:
|
||||
{
|
||||
# This attribute is necessary to allow CI to ensure that all packages defined in `pkgs/by-name`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue