Skip to content

v2.34.2

Choose a tag to compare

@Mic92 Mic92 released this 23 Jun 20:39
86c1f29

Fixes

  • Faster cache-status checks. When --check-cache-status is 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 as allowed-users and trusted-users) could still trigger
    "unknown setting" warnings because the code registering them was dropped by
    the linker. The settings are now reliably registered before nix.conf is
    read, so the warnings stay silent (@booxter, #416).

  • Safer /nix/store mounts when run as root. Running nix-eval-jobs as root
    could cause /nix/store to be remounted without its ro,nosuid,nodev flags
    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 fillInOutputPaths instead 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