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

globals.hh: fix broken link to nspawn example

The substitution included the `.` at the end of the URL, breaking it.
This commit is contained in:
Connor Baker 2025-07-08 12:59:16 -07:00 committed by GitHub
parent 98a883b51a
commit a16491375a
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.
)",