summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorJonas Chevalier <zimbatm@zimbatm.com>2023-05-04 18:30:25 +0200
committerGitHub <noreply@github.com>2023-05-04 18:30:25 +0200
commit3d2bdd0788d7fa05883cafc1f8c2ab29527ef4f1 (patch)
treee9137b2fd32509ebda57b1c7fea76f70350148cb /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent519b94e7ddc24685b8cb58c6086a122dbb938fc5 (diff)
python: implement PEP 668 (#229166)
Add a marker file to the python outputs that tells pip and other tooling following PEP 668 that they should not be installing things system-wide. This provides better feedback to the user and also potentially avoids issues in single-user installs where the /nix/store is owned by the user. For more details, see <https://peps.python.org/pep-0668/> Here is how it currently looks like: $ pip install requests error: externally-managed-environment × This environment is externally managed ╰─> This command has been disabled as it tries to modify the immutable `/nix/store` filesystem. To use Python with Nix and nixpkgs, have a look at the online documentation: <https://nixos.org/manual/nixpkgs/stable/#python>.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions