# Nix 2.35.0 released

**URL:** https://discourse.nixos.org/t/nix-2-35-0-released/78914
**Category:** Nix Releases
**Created:** [July 13, 2026, 8:36pm UTC](https://discourse.nixos.org/t/nix-2-35-0-released/78914 "2026-07-13T20:36:40Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![lisanna](https://discourse.nixos.org/user_avatar/discourse.nixos.org/lisanna/32/36988_2.png) [@lisanna](https://discourse.nixos.org/u/lisanna)
#### Post date: [July 13, 2026, 8:36pm UTC](https://discourse.nixos.org/t/nix-2-35-0-released/78914/1 "2026-07-13T20:36:41Z")

</div>

On behalf of the Nix team, I am pleased to finally announce the release of Nix 2.35.0. This release contains a good number of new features, bugfixes, and performance improvements, and is available at [releases.nixos.org](https://releases.nixos.org/?prefix=nix/nix-2.35.0).

This release also fixes a security issue with recursive-nix: [https://github.com/NixOS/nix/security/advisories/GHSA-6h4g-g5j9-fm5f](https://github.com/NixOS/nix/security/advisories/GHSA-6h4g-g5j9-fm5f)

# Release Notes

## Highlights

- Sources are copied to the store more lazily [#3121](https://github.com/NixOS/nix/issues/3121) [#15711](https://github.com/NixOS/nix/pull/15711) [#15920](https://github.com/NixOS/nix/pull/15920)

- Support FreeBSD `libjail` based sandboxing, add `x86_64-freebsd` to installer [#9968](https://github.com/NixOS/nix/pull/9968) [#13281](https://github.com/NixOS/nix/pull/13281) [#15673](https://github.com/NixOS/nix/pull/15673)

## Improvements

- HTTP/3 (QUIC) support [#15961](https://github.com/NixOS/nix/pull/15961)

- Link mimalloc for faster evaluation [#15596](https://github.com/NixOS/nix/pull/15596)

- The `revCount` attribute of the Git fetchers is now lazily computed and passed-through as-is when explicitly specified [#15772](https://github.com/NixOS/nix/pull/15772) [#14596](https://github.com/NixOS/nix/pull/14596)

- Configurable file-transfer retry backoff with full jitter and `Retry-After` support [#15023](https://github.com/NixOS/nix/issues/15023) [#15419](https://github.com/NixOS/nix/issues/15419) [#15449](https://github.com/NixOS/nix/pull/15449)

- Improve daemon socket path logic for chroot stores [#15190](https://github.com/NixOS/nix/pull/15190)

- Linux sandbox: also block `listxattr` syscalls [#15743](https://github.com/NixOS/nix/pull/15743)

- Support SCP-like URLs in fetchGit and type = “git” flake inputs [#14852](https://github.com/NixOS/nix/issues/14852) [#14867](https://github.com/NixOS/nix/issues/14867) [#14863](https://github.com/NixOS/nix/pull/14863)

- `nix flake check` now supports `--print-out-paths` [#13470](https://github.com/NixOS/nix/issues/13470) [#15476](https://github.com/NixOS/nix/pull/15476) and `--out-link` [#13470](https://github.com/NixOS/nix/issues/13470) [#15476](https://github.com/NixOS/nix/pull/15476) defaulting to not creating out links if the flag is not specified.

- Added `--skip-alive` (and `--skip-live` alias for compatibility with Lix users) option to `nix store delete` for collecting garbage within a closure [#7239](https://github.com/NixOS/nix/issues/7239) [#15236](https://github.com/NixOS/nix/pull/15236) [#15727](https://github.com/NixOS/nix/pull/15727)

- `builtins.getFlake` now supports path values [#15290](https://github.com/NixOS/nix/pull/15290)

- `nix-profile.fish` and `nix-profile-daemon.fish` now use `$NIX_LINK` for computing the value of `NIX_PROFILE` instead of `$HOME/.nix-profile` [#14293](https://github.com/NixOS/nix/pull/14293)

- `nix` binary now exports symbols from C bindings [#15696](https://github.com/NixOS/nix/pull/15696)

- The computed Git LFS endpoint URLs have been fixed to follow the spec [#15891](https://github.com/NixOS/nix/pull/15891) and memory usage of LFS fetches has been decreased [#15912](https://github.com/NixOS/nix/pull/15912)

- We now verify that fetched Git LFS objects have the same OID as requested [#15845](https://github.com/NixOS/nix/pull/15845)

- Primop documentation now includes time complexity information [#14554](https://github.com/NixOS/nix/pull/14554)

- Improved documentation on store paths and derivation building [#14699](https://github.com/NixOS/nix/pull/14699)

- The build hook is now killed with `SIGTERM` instead of `SIGKILL` [#15105](https://github.com/NixOS/nix/pull/15105)

- Download/upload logs strip `userinfo` URL components [#15715](https://github.com/NixOS/nix/pull/15715)

## Content-addressed derivations changes

The experimental content-addressed (CA) derivation feature has undergone a significant change to how build traces (formerly called “realisations”) are identified.  
This changes the binary cache endpoints for realisations and the daemon/nix-serve protocol (gated behind a daemon protocol feature flag).

- Realisations keyed by store path instead of hash modulo [#11897](https://github.com/NixOS/nix/issues/11897) [#12464](https://github.com/NixOS/nix/pull/12464)

- Removed support for “deep” realisations [#15289](https://github.com/NixOS/nix/pull/15289)

- Structured signature for realisations and `path-info` [#15009](https://github.com/NixOS/nix/pull/15009)

- `nix realisation` command has been renamed to `nix store build-trace` [#16000](https://github.com/NixOS/nix/pull/16000) [#15948](https://github.com/NixOS/nix/pull/15948)

## Build performance improvements

- Make post-build-hook asynchronous [#15406](https://github.com/NixOS/nix/issues/15406) [#15451](https://github.com/NixOS/nix/pull/15451)

- zstd compression now emits multi-frame output and uses less memory [#15550](https://github.com/NixOS/nix/pull/15550)

- More parallelism for binary cache uploads [#15957](https://github.com/NixOS/nix/pull/15957)

- The derivation build scheduler memory usage reduction and performance improvements [#15611](https://github.com/NixOS/nix/pull/15611) [#15695](https://github.com/NixOS/nix/pull/15695)

- Concurrent path substitutions and eval-time fetches of the same inputs now run only once [#15555](https://github.com/NixOS/nix/pull/15555) [#15644](https://github.com/NixOS/nix/pull/15644)

- `.narinfo` lookups in binary caches are more concurrent

## Bug fixes

- Fix hash collision between store paths with self-references and their zeroed-out equivalents [#15837](https://github.com/NixOS/nix/issues/15837) [#15931](https://github.com/NixOS/nix/pull/15931)

- C API: Fix `EvalState` pointer passed to primop callbacks [#15300](https://github.com/NixOS/nix/pull/15300) [#15383](https://github.com/NixOS/nix/pull/15383)

- GitHub fetcher now validates URL parameters [#15304](https://github.com/NixOS/nix/issues/15304) [#15331](https://github.com/NixOS/nix/pull/15331)

- Fixed a bug where keep-outputs and keep-derivations can interfere with delete commands [#15776](https://github.com/NixOS/nix/pull/15776)

- S3 substituters fall back to the URL’s region for STS WebIdentity auth [#15594](https://github.com/NixOS/nix/pull/15594)

- S3: restore STS WebIdentity and ECS container credential providers [#15507](https://github.com/NixOS/nix/pull/15507)

- HTTP 401 and 407 responses from binary caches are no longer treated as missing files [#15877](https://github.com/NixOS/nix/pull/15877)

- Fixed `nixbld` gid in `/etc/group` in the Linux build sandbox when user namespaces are not supported [#15131](https://github.com/NixOS/nix/pull/15131)

- Store garbage collection is now more robust [#15992](https://github.com/NixOS/nix/pull/15992) [#15720](https://github.com/NixOS/nix/pull/15720) [#15616](https://github.com/NixOS/nix/pull/15616)

- Fixed deadlock for hash-mismatching fixed-output derivations [#15874](https://github.com/NixOS/nix/pull/15874)

- `nix-copy-closure` no longer ignores `--include-outputs` flag [#15896](https://github.com/NixOS/nix/pull/15896)

- Fixes to `recursive-nix` experimental feature

## Contributors

This release was made possible by the following 59 contributors:

- Michael Wang [**(@zwang20)**](https://github.com/zwang20)
- Amaan Qureshi [**(@amaanq)**](https://github.com/amaanq)
- Sergei Zimmerman [**(@xokdvium)**](https://github.com/xokdvium)
- Reuben Gardos Reid [**(@ReubenJ)**](https://github.com/ReubenJ)
- StepBroBD [**(@stepbrobd)**](https://github.com/stepbrobd)
- dram [**(@dramforever)**](https://github.com/dramforever)
- Tom [**(@thunze)**](https://github.com/thunze)
- Sergei Trofimovich [**(@trofi)**](https://github.com/trofi)
- Robert Hensing [**(@roberth)**](https://github.com/roberth)
- steveoliphant [**(@steveoliphant)**](https://github.com/steveoliphant)
- espes [**(@espes)**](https://github.com/espes)
- Jörg Thalheim [**(@Mic92)**](https://github.com/Mic92)
- Artemis Tosini [**(@artemist)**](https://github.com/artemist)
- sander [**(@sandydoo)**](https://github.com/sandydoo)
- Erik Jensen [**(@rkjnsn)**](https://github.com/rkjnsn)
- Cameron Will [**(@cwill747)**](https://github.com/cwill747)
- Maciej Krüger [**(@mkg20001)**](https://github.com/mkg20001)
- Dror Speiser [**(@drorspei)**](https://github.com/drorspei)
- Eveeifyeve [**(@Eveeifyeve)**](https://github.com/Eveeifyeve)
- Audrey Dutcher [**(@rhelmot)**](https://github.com/rhelmot)
- Lisanna Dettwyler [**(@lisanna-dettwyler)**](https://github.com/lisanna-dettwyler)
- TyIsI [**(@TyIsI)**](https://github.com/TyIsI)
- Adam Kliś [**(@BonusPlay)**](https://github.com/BonusPlay)
- Domen Kožar [**(@domenkozar)**](https://github.com/domenkozar)
- Taeer Bar-Yam [**(@Radvendii)**](https://github.com/Radvendii)
- ryota2357 [**(@ryota2357)**](https://github.com/ryota2357)
- LIN, Jian [**(@jian-lin)**](https://github.com/jian-lin)
- znmz [**(@znmz)**](https://github.com/znmz)
- Felix Stupp [**(@Zocker1999NET)**](https://github.com/Zocker1999NET)
- Johannes Kirschbauer [**(@hsjobeki)**](https://github.com/hsjobeki)
- Antonio Nuno Monteiro [**(@anmonteiro)**](https://github.com/anmonteiro)
- tomberek [**(@tomberek)**](https://github.com/tomberek)
- Eelco Dolstra [**(@edolstra)**](https://github.com/edolstra)
- adisbladis [**(@adisbladis)**](https://github.com/adisbladis)
- Luna Nova [**(@LunNova)**](https://github.com/LunNova)
- Riccardo Mazzarini [**(@noib3)**](https://github.com/noib3)
- Bouke van der Bijl [**(@bouk)**](https://github.com/bouk)
- Dario [**(@dve00)**](https://github.com/dve00)
- Michael Hoang [**(@Enzime)**](https://github.com/Enzime)
- Paul Sbarra [**(@tones111)**](https://github.com/tones111)
- edef [**(@edef1c)**](https://github.com/edef1c)
- Adam Dinwoodie [**(@me-and)**](https://github.com/me-and)
- Brian McKenna [**(@puffnfresh)**](https://github.com/puffnfresh)
- Jeremy Fleischman [**(@jfly)**](https://github.com/jfly)
- John Ericson [**(@Ericson2314)**](https://github.com/Ericson2314)
- Alex Ionescu [**(@aionescu)**](https://github.com/aionescu)
- Tristan Ross [**(@RossComputerGuy)**](https://github.com/RossComputerGuy)
- Bernardo Meurer [**(@lovesegfault)**](https://github.com/lovesegfault)
- Pierre Penninckx [**(@ibizaman)**](https://github.com/ibizaman)
- Leonard Sheng Sheng Lee [**(@sheeeng)**](https://github.com/sheeeng)
- rszyma [**(@rszyma)**](https://github.com/rszyma)
- Ryan Hendrickson [**(@rhendric)**](https://github.com/rhendric)
- Lennart Kolmodin [**(@kolmodin)**](https://github.com/kolmodin)
- zowoq [**(@zowoq)**](https://github.com/zowoq)
- Peter Collingbourne [**(@pcc)**](https://github.com/pcc)
- Simon Žlender [**(@szlend)**](https://github.com/szlend)
- Lily Foster [**(@lilyinstarlight)**](https://github.com/lilyinstarlight)
- randomizedcoder [**(@randomizedcoder)**](https://github.com/randomizedcoder)
- Krish Jaiswal

---

<div class="post-metadata">

### Author: ![xokdvium](https://discourse.nixos.org/user_avatar/discourse.nixos.org/xokdvium/32/32263_2.png) [@xokdvium](https://discourse.nixos.org/u/xokdvium)
#### Post date: [July 13, 2026, 11:15pm UTC](https://discourse.nixos.org/t/nix-2-35-0-released/78914/2 "2026-07-13T23:15:32Z")

</div>

Ok, in the good old tradition turns out we have made a couple of oopsies so I’ll recommend holding off on upgrading until 2.35.1 is out with [Nix 2.35 regression fixes by lisanna-dettwyler · Pull Request #16139 · NixOS/nix · GitHub](https://github.com/NixOS/nix/pull/16139). We’ll have that patch release out shortly.

---

<div class="post-metadata">

### Author: ![lisanna](https://discourse.nixos.org/user_avatar/discourse.nixos.org/lisanna/32/36988_2.png) [@lisanna](https://discourse.nixos.org/u/lisanna)
#### Post date: [July 14, 2026, 12:11am UTC](https://discourse.nixos.org/t/nix-2-35-0-released/78914/3 "2026-07-14T00:11:47Z")

</div>

[2.35.1](https://releases.nixos.org/?prefix=nix/nix-2.35.1) has been released!

---

<div class="post-metadata">

### Author: ![pbsds](https://discourse.nixos.org/user_avatar/discourse.nixos.org/pbsds/32/11198_2.png) [@pbsds](https://discourse.nixos.org/u/pbsds)
#### Post date: [July 14, 2026, 7:23am UTC](https://discourse.nixos.org/t/nix-2-35-0-released/78914/4 "2026-07-14T07:23:32Z")

</div>

🎉

- unstable pr: [nixVersions.latest: 2.34.8 -\> 2.35.1 by ShadowRZ · Pull Request #541662 · NixOS/nixpkgs · GitHub](https://github.com/NixOS/nixpkgs/pull/541662)
- tracker: [Making sure you're not a bot!](https://nixpk.gs/pr-tracker.html?pr=541662)

---

<div class="post-metadata">

### Author: ![arianvp](https://discourse.nixos.org/user_avatar/discourse.nixos.org/arianvp/32/602_2.png) [@arianvp](https://discourse.nixos.org/u/arianvp)
#### Post date: [July 14, 2026, 8:46am UTC](https://discourse.nixos.org/t/nix-2-35-0-released/78914/5 "2026-07-14T08:46:25Z")

</div>

Amazing release it seems
