nixpkgs/pkgs/development/interpreters/python
Frederik Rietdijk 2270b66d75 pythonPackagesExtensions: override all Python package sets at once
Python package sets can be overridden by overriding an interpreter
and passing in `packageOverrides = self: super: {...};`. This is fine
in case you need a single interpreter, however, it does not help you
when you want to override all sets.

With this change it is possible to override all sets at once by
appending a list of "extensions" to `pythonPackagesExtensions`.

From reading the implementation you might wonder why a list is used, and
not
`lib.composeExtensions`? The reason is the latter requires knowledge of
the library function. This approach should be easier for most users
as it is similar to how we append to lists of e.g. inputs or patches
when overriding a derivation.
2022-08-06 09:39:39 +02:00
..
catch_conflicts
conda
cpython
hooks
manylinux
pypy
rustpython
tests
update-python-libraries
default.nix
fetchpypi.nix
mk-python-derivation.nix
run_setup.py
setup-hook.nix
setup-hook.sh
sitecustomize.py
tests.nix
with-packages.nix
wrap-python.nix
wrap.sh
wrapper.nix