We’re pleased to announce the availability of Nix 2.6.0.
Instructions how to install Nix on different platforms can be found on the download page.
Here are the release notes:
- New builtin function
builtins.zipAttrsWithwith the same functionality aslib.zipAttrsWithfrom Nixpkgs, but much more efficient. - The Nix CLI now searches for a
flake.nixup until the root of the current Git repository or a filesystem boundary rather than just in the current directory. - The TOML parser used by
builtins.fromTOMLhas been replaced by a more compliant one. - Added
:st/:show-tracecommands to nix repl, which are used to set or toggle display of error traces. - New command
nix store copy-logto copy build logs from one store to another. - The
commit-lockfile-summaryoption can be set to a non-empty string to override the commit summary used when commiting an updated lockfile. This may be used in conjunction with thenixConfigattribute inflake.nixto better conform to repository conventions. docker run -ti nixos/nix:masterwill place you in the Docker container with the latest version of Nix from the master branch.
The next release is scheduled for 2022-03-07.
Thank you to all the contributors!