diff options
| author | Alois Wohlschlager <alois1@gmx-topmail.de> | 2023-09-24 20:52:50 +0200 |
|---|---|---|
| committer | Yureka <yuka@yuka.dev> | 2024-09-24 12:20:15 +0200 |
| commit | d3abae8dee5b60b0b4f30a19b7101de3baa88d7d (patch) | |
| tree | 1cf23b5b2dac818ba87410d52bc6205598700bd8 /pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch | |
| parent | af3a3f64df031eba799c5ac5137a2f8446770c91 (diff) | |
nixos/top-level: improve replaceRuntimeDependencies
Instead of iterating over all replacements and applying them one by one,
use the newly introduced replaceDependencies function to apply them all
at once for replaceRuntimeDependencies. The advantages are twofold in
case there are multiple replacements:
* Performance is significantly improved, because there is only one pass
over the closure to be made.
* Correctness is improved, because replaceDependencies also replaces
dependencies of the replacements themselves if applicable.
Fixes: https://github.com/NixOS/nixpkgs/issues/4336
Diffstat (limited to 'pkgs/development/python-modules/debugpy/fix-test-pythonpath.patch')
0 files changed, 0 insertions, 0 deletions
