summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorSilvan Mosberger <silvan.mosberger@tweag.io>2024-11-20 05:52:51 +0100
committerSilvan Mosberger <silvan.mosberger@tweag.io>2024-11-20 06:22:07 +0100
commit72f462bdbafac035a1633fe064549089c6281ecd (patch)
treee7b4a36ae655feb402e47f32eca245a9f6b806ba /pkgs/development/python-modules/rangehttpserver
parentf8d0c644a2bb8e039235703ff9846717b267f7a6 (diff)
pkgs/top-level/release.nix: Don't include non-Hydra attributes with attrNamesOnly
The attrNamesOnly feature is used by pkgs/top-level/release-attrpaths-superset.nix to return a superset of all attributes that might be built by Hydra. Before this change it would include all attribute paths to derivations that could be found recursively, ignoring the recurseForDerivations and recurseForRelease attributes that control Hydra's recursion. This had the effect that it would end up with ~266000 attributes, most of which definitely won't be built by Hydra. We can remove those while staying true to the superset notion to end up with just ~97000, a reduction of ~63.6%! This also comes with an eval time reduction from 31.7s to 18.7s (-41.0%)! As an example, all derivations in pypy310Packages don't get included anymore, because it doesn't have a `.recurseForDerivations` set. As a nice side effect, with `--arg enableWarnings false`, no more warnings are printed, because things like `checkpointBuildTools.mkCheckpointedBuild` (which is deprecated) isn't being recursed to anymore.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions