Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Release 3.21.2 (2026-06-18)

Performance improvements

nix store optimise is now multi-threaded. This makes it much faster (e.g. from 301s to 111s on one particular store) since hashing can be done in parallel. PR: DeterminateSystems/nix-src#492

Copying of sources to the Nix store is now cached better in the evaluator. PR: DeterminateSystems/nix-src#507

Improved error messages

When a user isn't allowed to connect to the Nix daemon, previously they would get the unhelpful error message:

error: cannot open connection to remote store 'daemon': error: read of 32768 bytes: Connection reset by peer

Now they get:

error: cannot open connection to remote store 'daemon': access denied by the Nix daemon (check the `allowed-users` setting in the daemon)

PR: DeterminateSystems/nix-src#498

Various bug fixes

Refactorings

Release process improvements

Full Changelog: v3.21.1...v3.21.2