v2.34.2
Fixes
-
Faster cache-status checks. When
--check-cache-statusis enabled,
nix-eval-jobs now skips the binary-cache query for a derivation as soon as it
finds that the outputs can be substituted, instead of always querying every
output. This reduces network round-trips and speeds up evaluation against
remote caches (@Mic92, #414). -
Daemon-only settings no longer warn. Config keys that only apply to the
Nix daemon (such asallowed-usersandtrusted-users) could still trigger
"unknown setting" warnings because the code registering them was dropped by
the linker. The settings are now reliably registered beforenix.confis
read, so the warnings stay silent (@booxter, #416). -
Safer
/nix/storemounts when run as root. Running nix-eval-jobs as root
could cause/nix/storeto be remounted without itsro,nosuid,nodevflags
on the host. nix-eval-jobs now unshares its mount namespace first, matching
Nix's own behavior, so the host store mount is left untouched
(@tomberek, #417, refs NixOS/nix#13242, NixOS/nixpkgs#177946).
Internal
- Constituent/aggregate jobs now reuse Nix's
fillInOutputPathsinstead of
computing output hashes by hand, keeping output-path derivation in sync with
Nix (@amaanq, #408).
New contributors
Full changelog: v2.34.1...v2.34.2