nixpkgs/pkgs
Daniël de Kok e2309df85e pythonPackages.pipBuildHook: do not build in an isolated environment
When a PEP 517 project file is present, pip will not install
prerequisites in `site-packages`:

https://pip.pypa.io/en/stable/reference/pip/#pep-517-and-518-support

For the shell hook, this has the consequence that the generated
temporary directory that is added to PYTHONPATH does not contain
`site.py`. As a result, Python does not discover the Python
module. Thus when a user executes nix-shell in a project, they cannot
import the project's Python module.

This change adds the `--no-build-isolation` option to pip when
creating the editable environment, to correctly generate `site.py`,
even when a `pyproject.toml` is present.
2020-06-06 10:05:26 +02:00
..
applications Merge staging-next into staging 2020-06-05 19:42:16 +02:00
build-support Merge staging-next into staging 2020-06-05 19:42:16 +02:00
common-updater
data Merge pull request #89401 from romildo/upd.mint-x-icons 2020-06-04 12:47:46 -03:00
desktops Merge pull request #89420 from romildo/fix.lxappearance 2020-06-05 10:08:30 -03:00
development pythonPackages.pipBuildHook: do not build in an isolated environment 2020-06-06 10:05:26 +02:00
games openttd: 1.10.1 -> 1.10.2 2020-06-04 15:38:08 -07:00
misc Merge staging-next into staging 2020-06-05 19:42:16 +02:00
os-specific Merge staging-next into staging 2020-06-05 19:42:16 +02:00
servers python3.pkgs.hyperkitty: 1.3.2 -> 1.3.3 2020-06-06 01:05:29 +00:00
shells oh-my-zsh: 2020-06-02 -> 2020-06-05 2020-06-05 09:45:35 -04:00
stdenv Merge pull request #89036 from Ericson2314/fix-mesa-wayland-cross 2020-05-27 16:45:05 -04:00
test
tools Merge staging-next into staging 2020-06-05 19:42:16 +02:00
top-level Merge staging-next into staging 2020-06-05 19:42:16 +02:00