nixpkgs/nixos/doc/manual
Jonas Chevalier 3d2bdd0788
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>.
2023-05-04 18:30:25 +02:00
..
administration nixos-render-docs: add structural includes, use for manual 2023-02-12 13:02:42 +01:00
configuration tree-wide: buildFHSUserEnv -> buildFHSEnv 2023-04-16 10:15:13 +02:00
development nixos-render-docs: add examples support 2023-05-03 19:58:21 +02:00
installation nixos-render-docs: add examples support 2023-05-03 19:58:21 +02:00
manpages nixos/doc: don't prescribe OS / manual name 2023-02-23 20:53:04 +01:00
release-notes python: implement PEP 668 (#229166) 2023-05-04 18:30:25 +02:00
contributing-to-this-manual.chapter.md nixos/manual: remove md-to-db 2023-02-10 06:40:15 +01:00
default.nix nixos/manual: fix cross-compilation 2023-04-05 04:49:26 +02:00
man-pages.xml nixos/manual: inline man-configuration.xml 2023-02-12 11:55:10 +01:00
manual.md nixos/manual: render html with nixos-render-doc if !allowDocBook 2023-02-21 18:26:41 +01:00
nixos-options.md nixos-render-docs: add structural includes, use for manual 2023-02-12 13:02:42 +01:00
preface.md nixos-render-docs: add structural includes, use for manual 2023-02-12 13:02:42 +01:00
README.md