|
2 | 2 |
|
3 | 3 | * Based on [upstream Nix 2.33.2](../release-notes/rl-2.33.md). |
4 | 4 |
|
5 | | -## What's Changed |
6 | | -* Wasm support by @edolstra in [DeterminateSystems/nix-src#309](https://github.com/DeterminateSystems/nix-src/pull/309) |
7 | | -* builtins.wasm: Check against values with ID 0 by @edolstra in [DeterminateSystems/nix-src#324](https://github.com/DeterminateSystems/nix-src/pull/324) |
8 | | -* filetransfer: don't allow the queue size to be 0 by @cole-h in [DeterminateSystems/nix-src#327](https://github.com/DeterminateSystems/nix-src/pull/327) |
9 | | -* Sync with upstream 2.33.2 by @edolstra in [DeterminateSystems/nix-src#332](https://github.com/DeterminateSystems/nix-src/pull/332) |
10 | | -* Support .gitattributes in subdirectories by @edolstra in [DeterminateSystems/nix-src#335](https://github.com/DeterminateSystems/nix-src/pull/335) |
11 | | -* BinaryCacheStore::queryPathInfoUncached(): Ensure noexcept by @edolstra in [DeterminateSystems/nix-src#336](https://github.com/DeterminateSystems/nix-src/pull/336) |
12 | | -* Enable static builds by @RossComputerGuy in [DeterminateSystems/nix-src#323](https://github.com/DeterminateSystems/nix-src/pull/323) |
13 | | -* builtins.getFlake fixes by @edolstra in [DeterminateSystems/nix-src#337](https://github.com/DeterminateSystems/nix-src/pull/337) |
14 | | -* Provenance by @edolstra in [DeterminateSystems/nix-src#321](https://github.com/DeterminateSystems/nix-src/pull/321) |
15 | | -* builtins.getFlake: Support path values by @edolstra in [DeterminateSystems/nix-src#338](https://github.com/DeterminateSystems/nix-src/pull/338) |
16 | | -* Add subcommand 'nix provenance show' by @edolstra in [DeterminateSystems/nix-src#340](https://github.com/DeterminateSystems/nix-src/pull/340) |
17 | | -* Record builder host name in build provenance by @edolstra in [DeterminateSystems/nix-src#341](https://github.com/DeterminateSystems/nix-src/pull/341) |
18 | | -* Build provenance improvements by @edolstra in [DeterminateSystems/nix-src#343](https://github.com/DeterminateSystems/nix-src/pull/343) |
19 | | -* Store provenance info in the NAR info disk cache by @edolstra in [DeterminateSystems/nix-src#344](https://github.com/DeterminateSystems/nix-src/pull/344) |
20 | | -* Increase the open file soft limit to the hard limit by @edolstra in [DeterminateSystems/nix-src#347](https://github.com/DeterminateSystems/nix-src/pull/347) |
| 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` fixes |
| 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 | +## Increase open file limit |
| 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) |
21 | 51 |
|
22 | 52 |
|
23 | 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