nixpkgs/pkgs/development/interpreters/python/cpython
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
..
2.7 pythonPackagesExtensions: override all Python package sets at once 2022-08-06 09:39:39 +02:00
3.5
3.6
3.7
3.8
3.9 cpython: remove upstreamed patch 2021-12-03 13:18:38 -08:00
3.10
3.11 python311: 3.11.0b1 -> 3.11.0b3 2022-06-15 01:18:26 +02:00
docs pkgs/development: rename name to pname&version 2021-11-30 21:32:28 +01:00
default.nix pythonPackagesExtensions: override all Python package sets at once 2022-08-06 09:39:39 +02:00
mimetypes.patch
virtualenv-permissions.patch