3
0
Fork 0
forked from mirrors/nixpkgs
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 doc: Explain how to use and maintain CHICKEN. 2022-04-21 15:18:26 -07:00
coq.section.md Update doc/languages-frameworks/coq.section.md 2022-07-13 17:42:46 +02:00
crystal.section.md
cuda.section.md cudaPackages: overhaul of how we package cuda packages 2022-04-09 08:50:22 +02:00
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 doc/gnome: update accordingly to wrapGAppsHook change 2022-03-17 13:25:57 +04:00
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 Merge pull request #134514 from MostAwesomeDude/chicken 2022-04-22 14:02:23 +02:00
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 User manual: document duneVersion 2022-03-28 07:08:14 +02:00
octave.section.md
perl.section.md buildPerlPackage: don't mess with pname and phase out use of name 2022-06-07 12:49:23 -07:00
php.section.md php74: Drop PHP 7.4 and add aliases throwing an error 2022-06-08 18:11:55 +02:00
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 rustPlatform.bindgenHook: init 2022-02-22 19:37:07 +01:00
texlive.section.md nixpkgs/manual: add an explicit mention of CTAN so google can index 2022-03-24 14:14:05 +01:00
titanium.section.md
vim.section.md vimUtils: remove vam support 2022-07-10 20:38:09 +02:00