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:
refargument now allows specifying an absolute remote ref. Nix will automatically prefix
refdoesn't already begin with
The installer now enables sandboxing by default on Linux when the system has the necessary kernel support.
max-jobssetting now defaults to 1.
New builtin functions:
nixcommand has a new
-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
TERMenvironment variable is set to
xterm-256color. This allows many programs (e.g.
cmake) to print colorized log output.
--no-netconvenience flag. This flag disables substituters; sets the
tarball-ttlsetting 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.
post-build-hooksetting to run a program after a build has succeeded.
trace-function-callssetting to log the duration of Nix function calls to stderr.