diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-11-28 22:04:51 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-11-28 22:04:51 +0100 |
commit | 7dd3e1fec47b9dd6aa6a0b9a58962078a8499453 (patch) | |
tree | 428cc23d70ec889c257d85cf73d0c816c72eddec | |
parent | 67bcb99700a0da1395fa063d7c6586740b304598 (diff) |
Add example
-rw-r--r-- | doc/manual/src/release-notes/rl-next.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/manual/src/release-notes/rl-next.md b/doc/manual/src/release-notes/rl-next.md index db2bd7419..8b314b5f6 100644 --- a/doc/manual/src/release-notes/rl-next.md +++ b/doc/manual/src/release-notes/rl-next.md @@ -26,7 +26,8 @@ * On Linux, Nix can now run builds in a user namespace where the build runs as root (UID 0) and has 65,536 UIDs available. This is primarily useful for running containers such as `systemd-nspawn` - inside a Nix build. + inside a Nix build. For an example, see + https://github.com/NixOS/nix/blob/67bcb99700a0da1395fa063d7c6586740b304598/tests/systemd-nspawn.nix. A build can enable this by requiring the `uid-range` system feature, i.e. by setting the derivation attribute |