Skip to content

v3.24.0

Choose a tag to compare

@detsys-spaghetti detsys-spaghetti released this 22 Oct 19:52
9993a12

Release 3.24.0 (2026-10-22)

Security fix: removal of the emSign ECC Root CA - G3 certificate

The CA certificate bundle shipped in the Determinate Nix installer tarball and Docker image has been updated to NSS 3.131.1. This version no longer trusts the emSign ECC Root CA - G3 root certificate, following the compromise of an eMudhra intermediate CA key. Previously, installations that use this bundle trusted TLS certificates issued under this root, e.g. when connecting to binary caches or fetching flake inputs. This change was backported from upstream Nix.

PR: DeterminateSystems/nix-src#724 by @grahamc, cherry-picked from NixOS/nix#16661 by @xokdvium

Parallel instantiation of derivation dependencies

When multi-threaded evaluation is enabled (i.e. when eval-cores is not 1), instantiating a derivation now evaluates and instantiates its dependencies in parallel in the background. This speeds up any evaluation that instantiates derivations, not just the commands that already used multiple threads. For example, nix eval nixpkgs#firefox went from 1.51s to 0.77s, and evaluating Nix's own development shell went from 2.65s to 1.25s. When the evaluator threads are already busy (e.g. in nix flake show on a large flake), Nix skips this background work to avoid overhead.

PR: DeterminateSystems/nix-src#572

nix top

The new command nix top shows a continuously updating, top-like full-screen view of the active builds and their processes, including the CPU and memory usage of each build and process. It supports scrolling, collapsing process trees, sorting builds by CPU usage, memory usage, wall time or name, and changing the refresh interval.

In addition, nix ps now shows the memory usage (resident set size) of each build and process in a new RSS column, and in new rss fields in its JSON output. On Linux, the memory usage of a build is taken from its cgroup if use-cgroups is enabled.

PRs: DeterminateSystems/nix-src#710, DeterminateSystems/nix-src#715

Faster garbage collection and path registration

Nix now keeps SQLite's temporary data for the Nix store database in memory rather than in temporary files. Deleting or registering store paths with many references caused SQLite to write large amounts of data to temporary files, e.g. more than 30 GiB when garbage-collecting a store with 192k paths. On such a store, this speeds up garbage collection by 17%, nix-store --register-validity by 32%, and copying 50k paths into the store with nix copy by 20%.

PR: DeterminateSystems/nix-src#717 by @czawistowski-nvidia

Performance improvements

Miscellaneous changes

Bug fixes

New Contributors

Full Changelog: v3.23.3...v3.24.0