1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-13 17:10:47 +02:00

Merge pull request #13433 from ConnorBaker/patch-1

globals.hh: fix broken link to nspawn example
This commit is contained in:
John Ericson 2025-07-08 16:43:40 -04:00 committed by GitHub
commit 7caac53ae4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -873,7 +873,7 @@ public:
On Linux, Nix can run builds in a user namespace where they run as root (UID 0) and have 65,536 UIDs available.
This is primarily useful for running containers such as `systemd-nspawn` inside a Nix build. For an example, see [`tests/systemd-nspawn/nix`][nspawn].
[nspawn]: https://github.com/NixOS/nix/blob/67bcb99700a0da1395fa063d7c6586740b304598/tests/systemd-nspawn.nix.
[nspawn]: https://github.com/NixOS/nix/blob/67bcb99700a0da1395fa063d7c6586740b304598/tests/systemd-nspawn.nix
Included by default on Linux if the [`auto-allocate-uids`](#conf-auto-allocate-uids) setting is enabled.
)",