aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/release-notes/rl-2.3.md
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-10-17 17:25:17 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-10-17 17:25:17 +0000
commit2546c63373149dea1511b892a9911768bd770cac (patch)
tree8766f3de7a9cd344e5b9067f83091ae7a28cfd0c /doc/manual/src/release-notes/rl-2.3.md
parent7349f257da8278af9aae35544b15c9a204e2a57b (diff)
parentf66bbd8c7bb1472facf8917e58e3cd4f6ddfa1b5 (diff)
Merge commit 'f66bbd8c7bb1472facf8917e58e3cd4f6ddfa1b5' into auto-uid-allocation
Diffstat (limited to 'doc/manual/src/release-notes/rl-2.3.md')
-rw-r--r--doc/manual/src/release-notes/rl-2.3.md44
1 files changed, 44 insertions, 0 deletions
diff --git a/doc/manual/src/release-notes/rl-2.3.md b/doc/manual/src/release-notes/rl-2.3.md
new file mode 100644
index 000000000..d1f4e3734
--- /dev/null
+++ b/doc/manual/src/release-notes/rl-2.3.md
@@ -0,0 +1,44 @@
+# Release 2.3 (2019-09-04)
+
+This is primarily a bug fix release. However, it makes some incompatible
+changes:
+
+ - Nix now uses BSD file locks instead of POSIX file locks. Because of
+ this, you should not use Nix 2.3 and previous releases at the same
+ time on a Nix store.
+
+It also has the following changes:
+
+ - `builtins.fetchGit`'s `ref` argument now allows specifying an
+ absolute remote ref. Nix will automatically prefix `ref` with
+ `refs/heads` only if `ref` doesn't already begin with `refs/`.
+
+ - The installer now enables sandboxing by default on Linux when the
+ system has the necessary kernel support.
+
+ - The `max-jobs` setting now defaults to 1.
+
+ - New builtin functions: `builtins.isPath`, `builtins.hashFile`.
+
+ - The `nix` command has a new `--print-build-logs` (`-L`) flag to
+ print build log output to stderr, rather than showing the last log
+ line in the progress bar. To distinguish between concurrent builds,
+ log lines are prefixed by the name of the package.
+
+ - Builds are now executed in a pseudo-terminal, and the `TERM`
+ environment variable is set to `xterm-256color`. This allows many
+ programs (e.g. `gcc`, `clang`, `cmake`) to print colorized log
+ output.
+
+ - Add `--no-net` convenience flag. This flag disables substituters;
+ sets the `tarball-ttl` setting to infinity (ensuring that any
+ previously downloaded files are considered current); and disables
+ retrying downloads and sets the connection timeout to the minimum.
+ This flag is enabled automatically if there are no configured
+ non-loopback network interfaces.
+
+ - Add a `post-build-hook` setting to run a program after a build has
+ succeeded.
+
+ - Add a `trace-function-calls` setting to log the duration of Nix
+ function calls to stderr.