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 Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
cpython pythonPackagesExtensions: override all Python package sets at once 2022-08-06 09:39:39 +02:00
hooks python3Packages.sphinxHook: run post install 2022-07-21 22:35:25 +02:00
manylinux
pypy pythonPackagesExtensions: override all Python package sets at once 2022-08-06 09:39:39 +02:00
rustpython rustpython: init at unstable-2021-12-09 2021-12-14 18:53:25 +01:00
tests python3.tests: add cpython-gdb test 2021-08-19 19:37:09 +01:00
update-python-libraries update-python-libraries.py: Always use ref/tags/ for specifying rev 2022-03-14 00:29:09 +01:00
default.nix pythonPackagesExtensions: override all Python package sets at once 2022-08-06 09:39:39 +02:00
fetchpypi.nix python3Packages.fetchPypi: support wheels where dist & python differ 2021-06-22 13:42:45 +02:00
mk-python-derivation.nix buildPythonPackage: document why we always propagate python 2022-06-27 21:02:27 +02:00
run_setup.py
setup-hook.nix treewide: enable strictDeps in bootstrap packages 2022-05-22 16:40:26 +03:00
setup-hook.sh
sitecustomize.py
tests.nix pythonPackagesExtensions: override all Python package sets at once 2022-08-06 09:39:39 +02:00
with-packages.nix
wrap-python.nix
wrap.sh
wrapper.nix python-wrapper: use makeBinaryWrapper 2022-04-20 21:59:47 +02:00