summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2021-02-27 08:55:38 +0100
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2021-02-27 11:12:05 +0100
commit0dc64d5d7197dead209aff7bffc4ddbf6da2cb31 (patch)
treead479fa6e68b536802598fa4326c04028d73fe7f /pkgs/development/python-modules/python-mapnik
parent206c4d3bb120bd6c11f0732d8f4b1ddf87fb769d (diff)
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.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik')
0 files changed, 0 insertions, 0 deletions