Release 3.11.2 (2025-09-12)
- Based on upstream Nix 2.31.1.
What's Changed
Fix some interactions with the registry and flakes that include a ?dir=
parameter
Some users were experiencing issues when their flake registry contained a flake that included a ?dir=
parameter, causing commands like nix eval registry-with-flake-in-subdir#output
and those that used --inputs-from` to fail or behave incorrectly.
This is now fixed, so use your flakes inside subdirs without fear!
PRs: DeterminateSystems/nix-src#196, DeterminateSystems/nix-src#199
Only substitute inputs if they haven't already been fetched
When using lazy-trees
, you might have noticed Nix fetching some source inputs from a cache, even though you could have sworn it already fetched those inputs!
This fixes that behavior such that Nix will try to fetch inputs from their original location, and only if that fails fall back to fetching from a substituter.
PR: DeterminateSystems/nix-src#202
Full Changelog: v3.11.1...v3.11.2