1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/doc/languages-frameworks
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
..
agda.section.md
android.section.md
beam.section.md
bower.section.md
chicken.section.md
coq.section.md Update doc/languages-frameworks/coq.section.md 2022-07-13 17:42:46 +02:00
crystal.section.md
cuda.section.md
dhall.section.md
dotnet.section.md buildDotnetModule: add documentation about selfContained flag 2022-07-26 18:03:03 +02:00
emscripten.section.md
gnome.section.md
go.section.md buildGoModule: add vendorHash 2022-08-02 07:28:13 +10:00
haskell.section.md
hy.section.md
idris.section.md
index.xml
ios.section.md
java.section.md
javascript.section.md docs/javascript: advise to create less yarn.nix files 2022-07-30 19:29:31 +02:00
lua.section.md
maven.section.md doc: move makeWrapper to nativeBuildInputs from buildInputs 2022-07-14 22:08:56 +03:00
nim.section.md
ocaml.section.md
octave.section.md
perl.section.md
php.section.md
python.section.md pythonPackagesExtensions: override all Python package sets at once 2022-08-06 09:39:39 +02:00
qt.section.md
r.section.md
ruby.section.md doc: move makeWrapper to nativeBuildInputs from buildInputs 2022-07-14 22:08:56 +03:00
rust.section.md
texlive.section.md
titanium.section.md
vim.section.md vimUtils: remove vam support 2022-07-10 20:38:09 +02:00