nixpkgs-suyu/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
hooks pytestCheckHook: add support for disabling arbitrary paths 2021-02-15 00:34:35 +01:00
manylinux
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
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
sitecustomize.py
tests.nix python.tests: test overriding functions 2021-02-19 10:12:21 +01:00
with-packages.nix
wrap-python.nix
wrap.sh
wrapper.nix pkgs/development/interpreters: stdenv.lib -> lib 2021-01-23 20:29:03 +07:00