# Nix 2.36.0 released

**URL:** https://discourse.nixos.org/t/nix-2-36-0-released/81345
**Category:** Nix Releases
**Created:** [November 19, 2026, 10:03pm UTC](https://discourse.nixos.org/t/nix-2-36-0-released/81345 "2026-11-19T22:03:23Z")
**Posts on this page:** 3
**Page:** 1

<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: [November 19, 2026, 10:03pm UTC](https://discourse.nixos.org/t/nix-2-36-0-released/81345/1 "2026-11-19T22:03:23Z")

</div>

Hi, I’m very pleased to announce the release of Nix 2.36 on behalf of the [Nix team](https://nixos.org/community/teams/nix/).

It’s been a while since the last minor release (~4 months to be exact) and this time around we have a lot of bugfixes and fixed performance blunders.  
Substantial effort in this release cycle went into adopting fuzzing infrastructure to make nix more reliable, sound and secure, with a focus on core components of libstore.

Binary artifacts are available from [releases.nixos.org](https://releases.nixos.org/?prefix=nix/nix-2.36.0) as usual.

A major highlight of this release is undoubtedly the adoption of [`NixOS/nix-installer`](https://github.com/NixOS/nix-installer/) alongside the existing scripted installer. See the notes below for further details.

We’d like to thank:

- Determinate Systems for creating the codebase the installer is based on and liberally licensing their code to make this possible.
- The [installer WG](https://discourse.nixos.org/t/nix-installer-workgroup/21495) @mkenigs @abathur @jfroche, for persevering in their efforts.
- @Mic92 for the final pushes from the Nix team side.

# Release notes

## Packaging

- Starting with this release, [`nix-installer`](https://github.com/NixOS/nix-installer) binaries are shipped alongside other binary artifacts in [releases.nixos.org](https://releases.nixos.org/?prefix=nix/nix-2.36.0/).

- Cross-built binary releases for `powerpc64-linux` and `powerpc64le-linux` platforms [#16274](https://github.com/NixOS/nix/pull/16274)

- [Scripted installer](https://channels.nixos.org/nix-latest/install) supports busybox-based systems (e.g. Alpine) in single-user mode [#16537](https://github.com/NixOS/nix/pull/16537)

- The scripted installer sets the correct store mtime [#16558](https://github.com/NixOS/nix/pull/16558)

## Improvements

- Daemon worker spawning rework [#15857](https://github.com/NixOS/nix/issues/15857) [#16659](https://github.com/NixOS/nix/pull/16659)

- `daemon-trust-override`, `--process-ops` stabilisation  
[#16637](https://github.com/NixOS/nix/pull/16637) [#16659](https://github.com/NixOS/nix/pull/16659)

- Daemon enables cgroup controllers for build cgroups [#9675](https://github.com/NixOS/nix/issues/9675) [#16024](https://github.com/NixOS/nix/pull/16024)

- Nix now finds Darwin runtime garbage collector roots without `lsof` [#3011](https://github.com/NixOS/nix/issues/3011) [#13990](https://github.com/NixOS/nix/issues/13990)

- `nix run`, `nix search` and `nix bundle` now auto-call functions [#5316](https://github.com/NixOS/nix/issues/5316) [#15895](https://github.com/NixOS/nix/pull/15895)

- Build cgroups are named after the derivation [#16516](https://github.com/NixOS/nix/pull/16516)

- Add an alias for optimise. [#1902](https://github.com/NixOS/nix/issues/1902) [#11326](https://github.com/NixOS/nix/issues/11326) [#11577](https://github.com/NixOS/nix/pull/11577) [#15997](https://github.com/NixOS/nix/pull/15997)

- Downloads and store path copying produces significantly less log updates for `internal-json` logger [#16671](https://github.com/NixOS/nix/pull/16671) [#16670](https://github.com/NixOS/nix/pull/16670)

- Styled output on stdout is plain when stdout is not a terminal [#4626](https://github.com/NixOS/nix/issues/4626) [#9486](https://github.com/NixOS/nix/issues/9486) [#16710](https://github.com/NixOS/nix/issues/16710) [#16711](https://github.com/NixOS/nix/pull/16711)

- Add `nix version` command with `--json` option [#16201](https://github.com/NixOS/nix/pull/16201)  
A `--version` flag is more like a modern subcommand than a flag, and this provides a place for JSON output,  
making it easier to consume in scripts.  
When `--json` is passed, the output includes library versions.

- Bash completions now handle redirections [#16648](https://github.com/NixOS/nix/pull/16648)

- Nix now makes use of reflinking via `copy_file_range` when copying files on filesystem that support it [#15410](https://github.com/NixOS/nix/pull/15410)

## Error message improvements

- Start of infinite recursion is now visible [#16296](https://github.com/NixOS/nix/pull/16296)

- `builtins.warn` now supports unindented multi-line messages [#14794](https://github.com/NixOS/nix/pull/14794)

- `builtins.addErrorContext` keeps the error from _value_ when _context_ fails [#8283](https://github.com/NixOS/nix/issues/8283) [#16618](https://github.com/NixOS/nix/pull/16618)

- Error traces now show both the selection site in addition to the definition site when an attribute is retrieved and both locations are known. [#16249](https://github.com/NixOS/nix/pull/16249)

- Error traces now always show the derivations that were getting instantiated [#16282](https://github.com/NixOS/nix/pull/16282)

- All operators in error traces are displayed, and consistently [#16301](https://github.com/NixOS/nix/pull/16301)

- Error messages for interrupted downloads are more concise [#16095](https://github.com/NixOS/nix/pull/16095) [#16646](https://github.com/NixOS/nix/pull/16646) [#14757](https://github.com/NixOS/nix/issues/14757)

## Bug fixes

- `nix develop` no longer disables ASLR on Linux [#16624](https://github.com/NixOS/nix/pull/16624).

- File descriptors are more reliably closed in children processes [#16247](https://github.com/NixOS/nix/pull/16247) [#16717](https://github.com/NixOS/nix/pull/16717) [#16749](https://github.com/NixOS/nix/pull/16749)

- `post-build-hook` is no longer run in a mount namespace with a writable Nix store [#16247](https://github.com/NixOS/nix/pull/16247)

- `builtins.pathExists` no longer swallows access errors from evaluating its argument [#16728](https://github.com/NixOS/nix/pull/16728)

- Store garbage collector can now delete App bundles on macOS [#16626](https://github.com/NixOS/nix/pull/16626) [#16719](https://github.com/NixOS/nix/pull/16719)

- `nix eval --write-to` is stricter about what it writes [#16760](https://github.com/NixOS/nix/pull/16760)

- Path-like flake references detect Mercurial checkouts

- S3: `endpoint=host:port` fixed, deprecated in favour of full URLs

- Boost.Context bug causing incorrect daemeon exception detection has been worked around in Nix and Nixpkgs, with a fix contributed upstream [#16197](https://github.com/NixOS/nix/pull/16197) [#16174](https://github.com/NixOS/nix/issues/16174).

- NUL bytes in derivation `builder` and `args` attributes are rejected [#16245](https://github.com/NixOS/nix/pull/16245)

- Derivation parser is now more strict [#16237](https://github.com/NixOS/nix/issues/16237) [#16284](https://github.com/NixOS/nix/pull/16284)

- The NAR parser is stricter when file contents are discarded [#16325](https://github.com/NixOS/nix/pull/16325)

- Store path basenames that don’t have the hash part followed by `-` are properly rejected [#16257](https://github.com/NixOS/nix/pull/16257).

- Truncated Brotli compressed NARs no longer cause Nix to loop infinitely [#16575](https://github.com/NixOS/nix/pull/16575).

- Errors while writing to compressed streams (e.g. copying to a local binary cache store) no longer cause a crash [#16664](https://github.com/NixOS/nix/pull/16664)

- Non-lexically-canonical home-path literals (e.g. `~/repos/nixpkgs/.`) no longer crash the evaluator [#16651](https://github.com/NixOS/nix/pull/16651)

- Deleting profiles with unexpected `mtime` no longer triggers a crash [#16634](https://github.com/NixOS/nix/pull/16634)

- Internal source tree names no longer leak into evaluation results of `builtins.toXML` and value printing [#16780](https://github.com/NixOS/nix/pull/16780)

- `builtins.readDir builtins.storeDir` no longer fails in impure evaluation mode [#16780](https://github.com/NixOS/nix/pull/16780)

- Logging has been hardened against crafted inputs [#16784](https://github.com/NixOS/nix/pull/16784) [#16456](https://github.com/NixOS/nix/pull/16456)

- While reading git objects, Nix now rejects duplicate Git tree entries and unsorted trees [#16793](https://github.com/NixOS/nix/pull/16793)

## `ca-derivations`

- Add new `nix store build-trace delete` command [#15655](https://github.com/NixOS/nix/pull/15655)

- Implement new `builder-rpc-v0` feature; see [#15793](https://github.com/NixOS/nix/pull/15793) below under `dynamic-derivations`.  
While motivated primarily by the dynamic derivations feature, registering outputs is also useful for content-addressing derivations.  
The builder can learn the calculated content-addressed path of one of its outputs before creating others, removing the need for any rewriting on the nix-daemon side after the derivation finishes.

- Error instead of crashing when realisations cannot be queried [#16014](https://github.com/NixOS/nix/pull/16014)

## `dynamic-derivations`

- Implement new `builder-rpc-v0` feature [#15793](https://github.com/NixOS/nix/pull/15793)  
This PR adds support for creating new store objects within a derivation at runtime,  
then registering them as an output.
- `nix store add --scan` for creating references, as well as in `builder-rpc-v0` [#16163](https://github.com/NixOS/nix/pull/16163)

## C API

- Expose evaluator helpers for working with derivation trees [#15842](https://github.com/NixOS/nix/pull/15842)  
`nix_get_derivation`, `nix_value_auto_call_function`
- Fix `nix_get_external` [#15954](https://github.com/NixOS/nix/pull/15954)

## Contributing

- Establish AI policy [#15984](https://github.com/NixOS/nix/pull/15984)

## Contributors

This release was made possible by the following 68 contributors:

- Angel J [**(@iamanaws)**](https://github.com/iamanaws)
- saara [**(@misspenalty)**](https://github.com/misspenalty)
- Krithik Rao [**(@KritR)**](https://github.com/KritR)
- Michael Daniels [**(@mdaniels5757)**](https://github.com/mdaniels5757)
- Kip Landergren [**(@klandergren)**](https://github.com/klandergren)
- Lisanna Dettwyler [**(@lisanna-dettwyler)**](https://github.com/lisanna-dettwyler)
- Vladimir Petrzhikovskii [**(@0xdeafbeef)**](https://github.com/0xdeafbeef)
- John Ericson [**(@Ericson2314)**](https://github.com/Ericson2314)
- figsoda [**(@figsoda)**](https://github.com/figsoda)
- raf [**(@NotAShelf)**](https://github.com/NotAShelf)
- Amaan Qureshi [**(@amaanq)**](https://github.com/amaanq)
- Jazzkid [**(@Jazzkid0)**](https://github.com/Jazzkid0)
- Sergei Zimmerman [**(@xokdvium)**](https://github.com/xokdvium)
- StepBroBD [**(@stepbrobd)**](https://github.com/stepbrobd)
- dram [**(@dramforever)**](https://github.com/dramforever)
- Jonas Chevalier [**(@zimbatm)**](https://github.com/zimbatm)
- yunfachi [**(@yunfachi)**](https://github.com/yunfachi)
- Matthew Kenigsberg [**(@mkenigs)**](https://github.com/mkenigs)
- Jake Hillion [**(@JakeHillion)**](https://github.com/JakeHillion)
- Marshall Porter [**(@meop)**](https://github.com/meop)
- Robert Hensing [**(@roberth)**](https://github.com/roberth)
- Philip Taron [**(@PhilipTaronQ)**](https://github.com/PhilipTaronQ)
- Anton Kesy [**(@antonkesy)**](https://github.com/antonkesy)
- Jens Petersen [**(@juhp)**](https://github.com/juhp)
- Valentin Gagarin [**(@fricklerhandwerk)**](https://github.com/fricklerhandwerk)
- HHH [**(@H7TPS)**](https://github.com/H7TPS)
- Ihar Hrachyshka [**(@booxter)**](https://github.com/booxter)
- Jörg Thalheim [**(@Mic92)**](https://github.com/Mic92)
- Sandro [**(@SuperSandro2000)**](https://github.com/SuperSandro2000)
- faukah [**(@faukah)**](https://github.com/faukah)
- Rohit Singh [**(@sinrohit-desco)**](https://github.com/sinrohit-desco)
- Artemis Tosini [**(@artemist)**](https://github.com/artemist)
- Gaétan Lepage [**(@GaetanLepage)**](https://github.com/GaetanLepage)
- Yaroslav Kuznetsov [**(@YENGISAY)**](https://github.com/YENGISAY)
- Bang Lee [**(@Qusic)**](https://github.com/Qusic)
- Francesco Gazzetta [**(@fgaz)**](https://github.com/fgaz)
- Farid Zakaria [**(@fzakaria)**](https://github.com/fzakaria)
- reee [**(@qsxDree)**](https://github.com/qsxDree)
- Evan Quiney [**(@Evanev7)**](https://github.com/Evanev7)
- Cosima Neidahl [**(@OPNA2608)**](https://github.com/OPNA2608)
- Domen Kožar [**(@domenkozar)**](https://github.com/domenkozar)
- Jacek Galowicz [**(@tfc)**](https://github.com/tfc)
- sulewicz-gq [**(@sulewicz-gq)**](https://github.com/sulewicz-gq)
- Grayson Tinker [**(@GraysonTinker)**](https://github.com/GraysonTinker)
- fsagbuya [**(@fsagbuya)**](https://github.com/fsagbuya)
- tomberek [**(@tomberek)**](https://github.com/tomberek)
- Chad Zawistowski [**(@czawistowski-nvidia)**](https://github.com/czawistowski-nvidia)
- Eelco Dolstra [**(@edolstra)**](https://github.com/edolstra)
- adisbladis [**(@adisbladis)**](https://github.com/adisbladis)
- Dennis [**(@DerDennisOP)**](https://github.com/DerDennisOP)
- aetos [**(@aetosdios27)**](https://github.com/aetosdios27)
- Zapolyarny [**(@ZapolyarnyDev)**](https://github.com/ZapolyarnyDev)
- Yuta Fudaba [**(@ph0ryn)**](https://github.com/ph0ryn)
- Carl [**(@Lillecarl)**](https://github.com/Lillecarl)
- Riccardo Mazzarini [**(@noib3)**](https://github.com/noib3)
- Jonathan De Troye [**(@detroyejr)**](https://github.com/detroyejr)
- ulucs [**(@ulucs)**](https://github.com/ulucs)
- Jamie Magee [**(@JamieMagee)**](https://github.com/JamieMagee)
- Filippo [**(@Filippo-Galli)**](https://github.com/Filippo-Galli)
- Adam Dinwoodie [**(@me-and)**](https://github.com/me-and)
- Jeremy Fleischman [**(@jfly)**](https://github.com/jfly)
- Philip Taron [**(@philiptaron)**](https://github.com/philiptaron)
- Thiago Kenji Okada [**(@thiagokokada)**](https://github.com/thiagokokada)
- Alex [**(@filaka771)**](https://github.com/filaka771)
- Ryan Hendrickson [**(@rhendric)**](https://github.com/rhendric)
- Michael Vorburger [**(@vorburger)**](https://github.com/vorburger)
- awsmadi [**(@awsmadi)**](https://github.com/awsmadi)
- Philipp Otterbein

---

<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: [November 19, 2026, 11:59pm UTC](https://discourse.nixos.org/t/nix-2-36-0-released/81345/2 "2026-11-19T23:59:27Z")

</div>

🎉 for the dynamic derivation support!

---

<div class="post-metadata">

### Author: ![woile](https://discourse.nixos.org/user_avatar/discourse.nixos.org/woile/32/8307_2.png) [@woile](https://discourse.nixos.org/u/woile)
#### Post date: [November 20, 2026, 8:12am UTC](https://discourse.nixos.org/t/nix-2-36-0-released/81345/3 "2026-11-20T08:12:31Z")

</div>

> [@xokdvium](#):
>
> A major highlight of this release is undoubtedly the adoption of [`NixOS/nix-installer`](https://github.com/NixOS/nix-installer/)

Really nice! Congrats 🎉
