Skip to content

Commit 5c670e3

Browse files
authored
Merge pull request #349 from DeterminateSystems/release-v3.16.0/e1dcb93d-aafc-4a03-a8ad-5553f4c5cbb4
Release v3.16.0
2 parents 8a1e3d8 + 786b9ba commit 5c670e3

File tree

4 files changed

+74
-2
lines changed

4 files changed

+74
-2
lines changed

.version-determinate

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.15.2
1+
3.16.0

doc/manual/source/SUMMARY.md.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@
145145
- [Contributing](development/contributing.md)
146146
- [Determinate Nix Release Notes](release-notes-determinate/index.md)
147147
- [Changes between Nix and Determinate Nix](release-notes-determinate/changes.md)<!-- next -->
148+
- [Release 3.16.0 (2026-02-12)](release-notes-determinate/v3.16.0.md)
148149
- [Release 3.15.2 (2026-01-20)](release-notes-determinate/v3.15.2.md)
149150
- [Release 3.15.1 (2025-12-24)](release-notes-determinate/v3.15.1.md)
150151
- [Release 3.15.0 (2025-12-19)](release-notes-determinate/v3.15.0.md)

doc/manual/source/release-notes-determinate/changes.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changes between Nix and Determinate Nix
22

3-
This section lists the differences between upstream Nix 2.33 and Determinate Nix 3.15.2.<!-- differences -->
3+
This section lists the differences between upstream Nix 2.33 and Determinate Nix 3.16.0.<!-- differences -->
44

55
* In Determinate Nix, flakes are stable. You no longer need to enable the `flakes` experimental feature.
66

@@ -156,3 +156,21 @@ This section lists the differences between upstream Nix 2.33 and Determinate Nix
156156
* Path inputs are now lazy [DeterminateSystems/nix-src#312](https://github.com/DeterminateSystems/nix-src/pull/312)
157157

158158
* Improved performance when fetching a lot of dependencies with curl [DeterminateSystems/nix-src#315](https://github.com/DeterminateSystems/nix-src/pull/315)
159+
160+
<!-- Determinate Nix version 3.16.0 -->
161+
162+
* Wasm support [DeterminateSystems/nix-src#309](https://github.com/DeterminateSystems/nix-src/pull/309)
163+
164+
* Fix hung downloads when `http-connections = 0` [DeterminateSystems/nix-src#327](https://github.com/DeterminateSystems/nix-src/pull/327)
165+
166+
* Support .gitattributes in subdirectories [DeterminateSystems/nix-src#335](https://github.com/DeterminateSystems/nix-src/pull/335)
167+
168+
* builtins.getFlake fixes [DeterminateSystems/nix-src#337](https://github.com/DeterminateSystems/nix-src/pull/337)
169+
170+
* builtins.getFlake: Support path values [DeterminateSystems/nix-src#338](https://github.com/DeterminateSystems/nix-src/pull/338)
171+
172+
* Provenance [DeterminateSystems/nix-src#321](https://github.com/DeterminateSystems/nix-src/pull/321)
173+
174+
* Add subcommand 'nix provenance show' [DeterminateSystems/nix-src#340](https://github.com/DeterminateSystems/nix-src/pull/340)
175+
176+
* Increase the open file soft limit to the hard limit [DeterminateSystems/nix-src#347](https://github.com/DeterminateSystems/nix-src/pull/347)
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Release 3.16.0 (2026-02-12)
2+
3+
* Based on [upstream Nix 2.33.3](../release-notes/rl-2.33.md).
4+
5+
## Support `.gitattributes` in subdirectories
6+
7+
For performance, the Git backwards compatibility hack was only applied to repositories that had a `.gitattributes` in the root directory.
8+
However, it is possible to have a `.gitattributes` file in a subdirectory, and there are real-world repos that do this, so we have dropped that restriction.
9+
10+
PR: [DeterminateSystems/nix-src#335](https://github.com/DeterminateSystems/nix-src/pull/335)
11+
12+
## Fix hung downloads when `http-connections = 0`
13+
14+
When we started limiting the number of active cURL handles in [DeterminateSystems/nix-src#315](https://github.com/DeterminateSystems/nix-src/pull/315), we did not take into account that `http-connections = 0` is a special value that means, roughly "as many connections as possible" (the exact behavior is up to cURL).
15+
16+
This should now be fixed.
17+
18+
PR: [DeterminateSystems/nix-src#327](https://github.com/DeterminateSystems/nix-src/pull/327)
19+
20+
## `builtins.getFlake` now supports relative paths
21+
22+
`builtins.getFlake` now supports using relative paths, like:
23+
24+
```nix
25+
builtins.getFlake ./..
26+
```
27+
28+
instead of the hacky
29+
30+
```nix
31+
builtins.getFlake (builtins.flakeRefToString { type = "path"; path = self.sourceInfo.outPath; narHash = self.narHash; });
32+
```
33+
34+
Note that allowing `builtins.getFlake` to fetch from store paths is probably a bad idea, since it's ambiguous when using chroot stores, so a warning will be printed when this is encountered.
35+
36+
PRs:
37+
* [DeterminateSystems/nix-src#337](https://github.com/DeterminateSystems/nix-src/pull/337)
38+
* [DeterminateSystems/nix-src#338](https://github.com/DeterminateSystems/nix-src/pull/338)
39+
40+
## Fixed a bug with too many open files
41+
42+
Recently, some users have reported seeing errors like:
43+
44+
```
45+
error: creating git packfile indexer: failed to create temporary file '/Users/anon/.cache/nix/tarball-cache-v2/objects/pack/pack_git2_56d617039ac17c2b': Too many open files
46+
```
47+
48+
This should now be fixed.
49+
50+
PR: [DeterminateSystems/nix-src#347](https://github.com/DeterminateSystems/nix-src/pull/347)
51+
52+
53+
**Full Changelog**: [v3.15.2...v3.16.0](https://github.com/DeterminateSystems/nix-src/compare/v3.15.2...v3.16.0)

0 commit comments

Comments
 (0)