diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-12-07 16:04:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-07 16:04:47 +0100 |
commit | b5b7902a08e63290b7f775c6ccecdee11c3df556 (patch) | |
tree | 7c84c72d5cbc3331c5ca27421507ebf5446e1f25 /doc/manual/src/release-notes/rl-next.md | |
parent | 8e0946e8df968391d1430af8377bdb51204e4666 (diff) | |
parent | c710aa1abd51231ce45fc419de2e0e82c8957fbd (diff) |
Merge branch 'master' into remove-repeat
Diffstat (limited to 'doc/manual/src/release-notes/rl-next.md')
-rw-r--r-- | doc/manual/src/release-notes/rl-next.md | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/doc/manual/src/release-notes/rl-next.md b/doc/manual/src/release-notes/rl-next.md index faead26c2..c1f4de76f 100644 --- a/doc/manual/src/release-notes/rl-next.md +++ b/doc/manual/src/release-notes/rl-next.md @@ -1,51 +1,4 @@ # Release X.Y (202?-??-??) -* `<nix/fetchurl.nix>` now accepts an additional argument `impure` which - defaults to `false`. If it is set to `true`, the `hash` and `sha256` - arguments will be ignored and the resulting derivation will have - `__impure` set to `true`, making it an impure derivation. - -* If `builtins.readFile` is called on a file with context, then only the parts - of that context that appear in the content of the file are retained. - This avoids a lot of spurious errors where some benign strings end-up having - a context just because they are read from a store path - ([#7260](https://github.com/NixOS/nix/pull/7260)). - -* Nix can now automatically pick UIDs for builds, removing the need to - create `nixbld*` user accounts. - - See [`auto-allocate-uids`]. - - [`auto-allocate-uids`]: (../command-ref/conf-file.md#conf-auto-allocate-uids) - -* 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. - - <!-- FIXME: move this to its own section about system features --> - - 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. - - A build can enable this by by setting the derivation attribute: - - ``` - requiredSystemFeatures = [ "uid-range" ]; - ``` - - The `uid-range` [system feature] requires the [`auto-allocate-uids`] - setting to be enabled. - - [system feature]: (../command-ref/conf-file.md#conf-system-features), - -* On Linux, Nix has experimental support for running builds inside a - cgroup. - - See [`use-cgroups`](../command-ref/conf-file.md#conf-use-cgroups). - -* `nix build --json` now prints some statistics about top-level - derivations, such as CPU statistics when cgroups are enabled. - * The `repeat` and `enforce-determinism` options have been removed since they had been broken under many circumstances for a long time. |