nixpkgs/pkgs/development/interpreters/python
Frederik Rietdijk 0dc64d5d71 python: fix full builds by referring to the correct interpreter
The package set is an attribute of the interpreter. The function to
build an environment (`buildEnv`/`withPackages`) is part of the
interpreter. The interpreter is passed to itself, and needs to be
updated when overridden.

For cross-compilation we splice the package set, and for that the
various `build/host` interpreters and sets need to be available. We
select these currently through `pkgs.${pythonAttr}`. The `pythonAttr`
attribute was not fixed for `pythonFull`.

https://github.com/NixOS/rfcs/pull/83
https://github.com/NixOS/nixpkgs/pull/104201

We need a better solution for this because this is very brittle.
2021-02-27 11:12:05 +01:00
..
catch_conflicts
cpython python37: 3.7.9 -> 3.7.10, fixup patches 2021-02-20 12:13:07 +01:00
graalpython pythonInterpreters.graalpython37: init 2019-10-22 09:16:18 +02:00
hooks pytestCheckHook: add support for disabling arbitrary paths 2021-02-15 00:34:35 +01:00
manylinux Fix manylinux packages 2019-12-13 11:40:44 +01:00
pypy pythonInterpreters.pypy36_prebuilt: Set pythonOnBuildForHost 2021-02-20 11:29:46 +01:00
tests python.tests: use self.callPackage instead of super.callPackage 2020-11-28 16:57:07 +01:00
update-python-libraries pkgs/*: add final newline to .nix files 2020-11-09 11:39:28 +00:00
default.nix python: fix full builds by referring to the correct interpreter 2021-02-27 11:12:05 +01:00
fetchpypi.nix pythonPackages.fetchPypi: support SRI hashes 2019-07-11 18:01:04 +02:00
mk-python-derivation.nix treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
run_setup.py
setup-hook.nix
setup-hook.sh python: make it possible to disable the python setup-hook 2019-04-28 09:20:41 +02:00
sitecustomize.py Python: fix virtualenv with Python 2 2020-05-24 10:43:24 +02:00
tests.nix python.tests: test overriding functions 2021-02-19 10:12:21 +01:00
with-packages.nix
wrap-python.nix
wrap.sh python.pkgs.wrapPython: get rid of warning 2019-12-30 16:46:55 +01:00
wrapper.nix pkgs/development/interpreters: stdenv.lib -> lib 2021-01-23 20:29:03 +07:00