mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
0dc64d5d71
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. |
||
---|---|---|
.. | ||
catch_conflicts | ||
cpython | ||
graalpython | ||
hooks | ||
manylinux | ||
pypy | ||
tests | ||
update-python-libraries | ||
default.nix | ||
fetchpypi.nix | ||
mk-python-derivation.nix | ||
run_setup.py | ||
setup-hook.nix | ||
setup-hook.sh | ||
sitecustomize.py | ||
tests.nix | ||
with-packages.nix | ||
wrap-python.nix | ||
wrap.sh | ||
wrapper.nix |