Skip to content

Commit be871f9

Browse files
Merge pull request #272 from DeterminateSystems/release-v3.13.2/82b1e106-1c36-4554-b670-07d4705ee85b
Release v3.13.2
2 parents 1a88716 + 7cf32ab commit be871f9

File tree

4 files changed

+83
-2
lines changed

4 files changed

+83
-2
lines changed

.version-determinate

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.13.1
1+
3.13.2

doc/manual/source/SUMMARY.md.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@
131131
- [Contributing](development/contributing.md)
132132
- [Determinate Nix Release Notes](release-notes-determinate/index.md)
133133
- [Changes between Nix and Determinate Nix](release-notes-determinate/changes.md)<!-- next -->
134+
- [Release 3.13.2 (2025-11-19)](release-notes-determinate/v3.13.2.md)
134135
- [Release 3.13.1 (2025-11-12)](release-notes-determinate/v3.13.1.md)
135136
- [Release 3.13.0 (2025-11-09)](release-notes-determinate/v3.13.0.md)
136137
- [Release 3.12.2 (2025-11-05)](release-notes-determinate/v3.12.2.md)

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

Lines changed: 13 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.32 and Determinate Nix 3.13.1.<!-- differences -->
3+
This section lists the differences between upstream Nix 2.32 and Determinate Nix 3.13.2.<!-- differences -->
44

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

@@ -144,3 +144,15 @@ This section lists the differences between upstream Nix 2.32 and Determinate Nix
144144

145145
<!-- Determinate Nix version 3.13.1 -->
146146

147+
148+
<!-- Determinate Nix version 3.13.2 -->
149+
150+
* Abbreviate flakerefs in lockfile diffs and `nix flake metadata` [DeterminateSystems/nix-src#264](https://github.com/DeterminateSystems/nix-src/pull/264)
151+
152+
* nix flake prefetch-inputs: Skip build-time inputs [DeterminateSystems/nix-src#263](https://github.com/DeterminateSystems/nix-src/pull/263)
153+
154+
* Git fetcher: Don't compute revCount/lastModified if they're already specified [DeterminateSystems/nix-src#269](https://github.com/DeterminateSystems/nix-src/pull/269)
155+
156+
* Avoid unnecessary Git refetches [DeterminateSystems/nix-src#270](https://github.com/DeterminateSystems/nix-src/pull/270)
157+
158+
* Use mirrored flake registry [DeterminateSystems/nix-src#271](https://github.com/DeterminateSystems/nix-src/pull/271)
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# Release 3.13.2 (2025-11-19)
2+
3+
* Based on [upstream Nix 2.32.4](../release-notes/rl-2.32.md).
4+
5+
## What's Changed
6+
7+
### Abbreviate flakerefs in lockfile diffs and `nix flake metadata`
8+
9+
Flake refs are now abbreviated when possible, to reduce visual clutter.
10+
11+
For example, this changes
12+
13+
```
14+
• Updated input 'blender-bin':
15+
'https://api.flakehub.com/f/pinned/edolstra/blender-bin/1.0.19/01993ca7-2aa8-746f-96f5-ca8d2c2b962d/source.tar.gz?narHash=sha256-ZqVhVl9UYVErF8HW8lcvqss005VWYjuX//rZ%2BOmXyHg%3D' (2025-09-12)
16+
→ 'https://api.flakehub.com/f/pinned/edolstra/blender-bin/1.0.20/019a8772-b044-7738-8c03-109bdc9f0a01/source.tar.gz?narHash=sha256-sVj9Gmx0kwTDQPJ5kgQYszE3Hdjevu0zx0b/bL2fyUc%3D' (2025-11-15)
17+
• Updated input 'nix':
18+
'github:DeterminateSystems/nix-src/236ebef6514f3a2a9765c8a1d80dd503b8e672be?narHash=sha256-s6/Err0yqOp5fM3OdCF1vhmEYpeElbPOWX88YrW2qj4%3D' (2025-10-23)
19+
→ 'github:DeterminateSystems/nix-src/ef054dc06e9701597bce0b0572af18cb4c7e7277?narHash=sha256-uqYmH0KA8caQqX5u4BMarZsuDlC%2B71HRsH3h4f3DPCA%3D' (2025-11-12)
20+
```
21+
22+
to
23+
24+
```
25+
• Updated input 'blender-bin':
26+
'https://api.flakehub.com/f/pinned/edolstra/blender-bin/1.0.19/01993ca7-2aa8-746f-96f5-ca8d2c2b962d/source.tar.gz' (2025-09-12)
27+
→ 'https://api.flakehub.com/f/pinned/edolstra/blender-bin/1.0.20/019a8772-b044-7738-8c03-109bdc9f0a01/source.tar.gz' (2025-11-15)
28+
• Updated input 'nix':
29+
'github:DeterminateSystems/nix-src/236ebef' (2025-10-23)
30+
→ 'github:DeterminateSystems/nix-src/ef054dc' (2025-11-12)
31+
```
32+
33+
PR: [DeterminateSystems/nix-src#264](https://github.com/DeterminateSystems/nix-src/pull/264)
34+
35+
### `nix flake prefetch-inputs` now skips build-time inputs
36+
37+
Build-time inputs can already be fetched in parallel, so prefetching them is usually not what you want.
38+
39+
This can be especially noticeable in projects that make extensive use of build-time flake inputs.
40+
41+
PR: [DeterminateSystems/nix-src#263](https://github.com/DeterminateSystems/nix-src/pull/263)
42+
43+
### Don't compute `revCount`/`lastModified` if they're already specified
44+
45+
We don't care if the user (or more likely the lock file) specifies an incorrect value for these attributes, since it doesn't matter for security (unlike content hashes like `narHash`).
46+
47+
This can save time when operating on large repos -- having to recalculate these attributes could slow things down greatly.
48+
49+
PR: [DeterminateSystems/nix-src#269](https://github.com/DeterminateSystems/nix-src/pull/269)
50+
51+
### Avoid unnecessary Git refetches
52+
53+
This fixes the issue where updating a Git input does a non-shallow fetch, and then a subsequent eval does a shallow refetch because the `revCount` is already known.
54+
55+
Now the subsequent eval will reuse the repo used in the first fetch.
56+
57+
PR: [DeterminateSystems/nix-src#270](https://github.com/DeterminateSystems/nix-src/pull/270)
58+
59+
### Use our mirrored flake registry
60+
61+
The flake registry is security-critical and thus should have high availability.
62+
63+
By mirroring the upstream Nix flake registry, we can make it less likely that a GitHub outage affects being able to resolve from the registry.
64+
65+
PR: [DeterminateSystems/nix-src#271](https://github.com/DeterminateSystems/nix-src/pull/271)
66+
67+
68+
**Full Changelog**: [v3.13.1...v3.13.2](https://github.com/DeterminateSystems/nix-src/compare/v3.13.1...v3.13.2)

0 commit comments

Comments
 (0)