From 695d1bbb2aba2756c3292384a60b2f5ecdde4ad5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 19 Nov 2025 05:41:35 +0000 Subject: [PATCH 1/4] Prepare release v3.13.2 From 067bcfa9f13498e18497a5622b1d66020d0be349 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 19 Nov 2025 05:41:38 +0000 Subject: [PATCH 2/4] Set .version-determinate to 3.13.2 --- .version-determinate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.version-determinate b/.version-determinate index c10780c628a..3e388a4ac94 100644 --- a/.version-determinate +++ b/.version-determinate @@ -1 +1 @@ -3.13.1 +3.13.2 From 3fa3baf57b5260bf2c9d92850ef0b37d5d346d4b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 19 Nov 2025 05:41:43 +0000 Subject: [PATCH 3/4] Generate release notes for 3.13.2 --- doc/manual/source/SUMMARY.md.in | 1 + .../release-notes-determinate/changes.md | 20 ++++++++++++++++++- .../release-notes-determinate/v3.13.2.md | 16 +++++++++++++++ 3 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 doc/manual/source/release-notes-determinate/v3.13.2.md diff --git a/doc/manual/source/SUMMARY.md.in b/doc/manual/source/SUMMARY.md.in index 16ac919c38c..cff3ddf683d 100644 --- a/doc/manual/source/SUMMARY.md.in +++ b/doc/manual/source/SUMMARY.md.in @@ -131,6 +131,7 @@ - [Contributing](development/contributing.md) - [Determinate Nix Release Notes](release-notes-determinate/index.md) - [Changes between Nix and Determinate Nix](release-notes-determinate/changes.md) + - [Release 3.13.2 (2025-11-19)](release-notes-determinate/v3.13.2.md) - [Release 3.13.1 (2025-11-12)](release-notes-determinate/v3.13.1.md) - [Release 3.13.0 (2025-11-09)](release-notes-determinate/v3.13.0.md) - [Release 3.12.2 (2025-11-05)](release-notes-determinate/v3.12.2.md) diff --git a/doc/manual/source/release-notes-determinate/changes.md b/doc/manual/source/release-notes-determinate/changes.md index 6a0a1ed5a94..16c74599d33 100644 --- a/doc/manual/source/release-notes-determinate/changes.md +++ b/doc/manual/source/release-notes-determinate/changes.md @@ -1,6 +1,6 @@ # Changes between Nix and Determinate Nix -This section lists the differences between upstream Nix 2.32 and Determinate Nix 3.13.1. +This section lists the differences between upstream Nix 2.32 and Determinate Nix 3.13.2. * In Determinate Nix, flakes are stable. You no longer need to enable the `flakes` experimental feature. @@ -144,3 +144,21 @@ This section lists the differences between upstream Nix 2.32 and Determinate Nix + + + +* Abbreviate flakerefs in lockfile diffs and `nix flake metadata` by @edolstra in [DeterminateSystems/nix-src#264](https://github.com/DeterminateSystems/nix-src/pull/264) + +* Add missing 'determinate' prefix by @edolstra in [DeterminateSystems/nix-src#265](https://github.com/DeterminateSystems/nix-src/pull/265) + +* Re-word README description of the project by @lucperkins in [DeterminateSystems/nix-src#267](https://github.com/DeterminateSystems/nix-src/pull/267) + +* Remove setting from Input by @edolstra in [DeterminateSystems/nix-src#268](https://github.com/DeterminateSystems/nix-src/pull/268) + +* nix flake prefetch-inputs: Skip build-time inputs by @edolstra in [DeterminateSystems/nix-src#263](https://github.com/DeterminateSystems/nix-src/pull/263) + +* Git fetcher: Don't compute revCount/lastModified if they're already specified by @edolstra in [DeterminateSystems/nix-src#269](https://github.com/DeterminateSystems/nix-src/pull/269) + +* Avoid unnecessary Git refetches by @edolstra in [DeterminateSystems/nix-src#270](https://github.com/DeterminateSystems/nix-src/pull/270) + +* incident-20251118-nix-flake-registry-is-down use our mirrored registry by @grahamc in [DeterminateSystems/nix-src#271](https://github.com/DeterminateSystems/nix-src/pull/271) diff --git a/doc/manual/source/release-notes-determinate/v3.13.2.md b/doc/manual/source/release-notes-determinate/v3.13.2.md new file mode 100644 index 00000000000..853cfc70ce8 --- /dev/null +++ b/doc/manual/source/release-notes-determinate/v3.13.2.md @@ -0,0 +1,16 @@ +# Release 3.13.2 (2025-11-19) + +* Based on [upstream Nix 2.32.4](../release-notes/rl-2.32.md). + +## What's Changed +* Abbreviate flakerefs in lockfile diffs and `nix flake metadata` by @edolstra in [DeterminateSystems/nix-src#264](https://github.com/DeterminateSystems/nix-src/pull/264) +* Add missing 'determinate' prefix by @edolstra in [DeterminateSystems/nix-src#265](https://github.com/DeterminateSystems/nix-src/pull/265) +* Re-word README description of the project by @lucperkins in [DeterminateSystems/nix-src#267](https://github.com/DeterminateSystems/nix-src/pull/267) +* Remove setting from Input by @edolstra in [DeterminateSystems/nix-src#268](https://github.com/DeterminateSystems/nix-src/pull/268) +* nix flake prefetch-inputs: Skip build-time inputs by @edolstra in [DeterminateSystems/nix-src#263](https://github.com/DeterminateSystems/nix-src/pull/263) +* Git fetcher: Don't compute revCount/lastModified if they're already specified by @edolstra in [DeterminateSystems/nix-src#269](https://github.com/DeterminateSystems/nix-src/pull/269) +* Avoid unnecessary Git refetches by @edolstra in [DeterminateSystems/nix-src#270](https://github.com/DeterminateSystems/nix-src/pull/270) +* incident-20251118-nix-flake-registry-is-down use our mirrored registry by @grahamc in [DeterminateSystems/nix-src#271](https://github.com/DeterminateSystems/nix-src/pull/271) + + +**Full Changelog**: [v3.13.1...v3.13.2](https://github.com/DeterminateSystems/nix-src/compare/v3.13.1...v3.13.2) From 7cf32ab41124eacd49ff8338a5285091ced71f5a Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Tue, 18 Nov 2025 22:28:54 -0800 Subject: [PATCH 4/4] Update release notes --- .../release-notes-determinate/changes.md | 16 ++--- .../release-notes-determinate/v3.13.2.md | 68 ++++++++++++++++--- 2 files changed, 65 insertions(+), 19 deletions(-) diff --git a/doc/manual/source/release-notes-determinate/changes.md b/doc/manual/source/release-notes-determinate/changes.md index 16c74599d33..ffadf1764f9 100644 --- a/doc/manual/source/release-notes-determinate/changes.md +++ b/doc/manual/source/release-notes-determinate/changes.md @@ -147,18 +147,12 @@ This section lists the differences between upstream Nix 2.32 and Determinate Nix -* Abbreviate flakerefs in lockfile diffs and `nix flake metadata` by @edolstra in [DeterminateSystems/nix-src#264](https://github.com/DeterminateSystems/nix-src/pull/264) +* Abbreviate flakerefs in lockfile diffs and `nix flake metadata` [DeterminateSystems/nix-src#264](https://github.com/DeterminateSystems/nix-src/pull/264) -* Add missing 'determinate' prefix by @edolstra in [DeterminateSystems/nix-src#265](https://github.com/DeterminateSystems/nix-src/pull/265) +* nix flake prefetch-inputs: Skip build-time inputs [DeterminateSystems/nix-src#263](https://github.com/DeterminateSystems/nix-src/pull/263) -* Re-word README description of the project by @lucperkins in [DeterminateSystems/nix-src#267](https://github.com/DeterminateSystems/nix-src/pull/267) +* Git fetcher: Don't compute revCount/lastModified if they're already specified [DeterminateSystems/nix-src#269](https://github.com/DeterminateSystems/nix-src/pull/269) -* Remove setting from Input by @edolstra in [DeterminateSystems/nix-src#268](https://github.com/DeterminateSystems/nix-src/pull/268) +* Avoid unnecessary Git refetches [DeterminateSystems/nix-src#270](https://github.com/DeterminateSystems/nix-src/pull/270) -* nix flake prefetch-inputs: Skip build-time inputs by @edolstra in [DeterminateSystems/nix-src#263](https://github.com/DeterminateSystems/nix-src/pull/263) - -* Git fetcher: Don't compute revCount/lastModified if they're already specified by @edolstra in [DeterminateSystems/nix-src#269](https://github.com/DeterminateSystems/nix-src/pull/269) - -* Avoid unnecessary Git refetches by @edolstra in [DeterminateSystems/nix-src#270](https://github.com/DeterminateSystems/nix-src/pull/270) - -* incident-20251118-nix-flake-registry-is-down use our mirrored registry by @grahamc in [DeterminateSystems/nix-src#271](https://github.com/DeterminateSystems/nix-src/pull/271) +* Use mirrored flake registry [DeterminateSystems/nix-src#271](https://github.com/DeterminateSystems/nix-src/pull/271) diff --git a/doc/manual/source/release-notes-determinate/v3.13.2.md b/doc/manual/source/release-notes-determinate/v3.13.2.md index 853cfc70ce8..2490b865e6b 100644 --- a/doc/manual/source/release-notes-determinate/v3.13.2.md +++ b/doc/manual/source/release-notes-determinate/v3.13.2.md @@ -3,14 +3,66 @@ * Based on [upstream Nix 2.32.4](../release-notes/rl-2.32.md). ## What's Changed -* Abbreviate flakerefs in lockfile diffs and `nix flake metadata` by @edolstra in [DeterminateSystems/nix-src#264](https://github.com/DeterminateSystems/nix-src/pull/264) -* Add missing 'determinate' prefix by @edolstra in [DeterminateSystems/nix-src#265](https://github.com/DeterminateSystems/nix-src/pull/265) -* Re-word README description of the project by @lucperkins in [DeterminateSystems/nix-src#267](https://github.com/DeterminateSystems/nix-src/pull/267) -* Remove setting from Input by @edolstra in [DeterminateSystems/nix-src#268](https://github.com/DeterminateSystems/nix-src/pull/268) -* nix flake prefetch-inputs: Skip build-time inputs by @edolstra in [DeterminateSystems/nix-src#263](https://github.com/DeterminateSystems/nix-src/pull/263) -* Git fetcher: Don't compute revCount/lastModified if they're already specified by @edolstra in [DeterminateSystems/nix-src#269](https://github.com/DeterminateSystems/nix-src/pull/269) -* Avoid unnecessary Git refetches by @edolstra in [DeterminateSystems/nix-src#270](https://github.com/DeterminateSystems/nix-src/pull/270) -* incident-20251118-nix-flake-registry-is-down use our mirrored registry by @grahamc in [DeterminateSystems/nix-src#271](https://github.com/DeterminateSystems/nix-src/pull/271) + +### Abbreviate flakerefs in lockfile diffs and `nix flake metadata` + +Flake refs are now abbreviated when possible, to reduce visual clutter. + +For example, this changes + +``` +• Updated input 'blender-bin': + '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) + → '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) +• Updated input 'nix': + 'github:DeterminateSystems/nix-src/236ebef6514f3a2a9765c8a1d80dd503b8e672be?narHash=sha256-s6/Err0yqOp5fM3OdCF1vhmEYpeElbPOWX88YrW2qj4%3D' (2025-10-23) + → 'github:DeterminateSystems/nix-src/ef054dc06e9701597bce0b0572af18cb4c7e7277?narHash=sha256-uqYmH0KA8caQqX5u4BMarZsuDlC%2B71HRsH3h4f3DPCA%3D' (2025-11-12) +``` + +to + +``` +• Updated input 'blender-bin': + 'https://api.flakehub.com/f/pinned/edolstra/blender-bin/1.0.19/01993ca7-2aa8-746f-96f5-ca8d2c2b962d/source.tar.gz' (2025-09-12) + → 'https://api.flakehub.com/f/pinned/edolstra/blender-bin/1.0.20/019a8772-b044-7738-8c03-109bdc9f0a01/source.tar.gz' (2025-11-15) +• Updated input 'nix': + 'github:DeterminateSystems/nix-src/236ebef' (2025-10-23) + → 'github:DeterminateSystems/nix-src/ef054dc' (2025-11-12) +``` + +PR: [DeterminateSystems/nix-src#264](https://github.com/DeterminateSystems/nix-src/pull/264) + +### `nix flake prefetch-inputs` now skips build-time inputs + +Build-time inputs can already be fetched in parallel, so prefetching them is usually not what you want. + +This can be especially noticeable in projects that make extensive use of build-time flake inputs. + +PR: [DeterminateSystems/nix-src#263](https://github.com/DeterminateSystems/nix-src/pull/263) + +### Don't compute `revCount`/`lastModified` if they're already specified + +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`). + +This can save time when operating on large repos -- having to recalculate these attributes could slow things down greatly. + +PR: [DeterminateSystems/nix-src#269](https://github.com/DeterminateSystems/nix-src/pull/269) + +### Avoid unnecessary Git refetches + +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. + +Now the subsequent eval will reuse the repo used in the first fetch. + +PR: [DeterminateSystems/nix-src#270](https://github.com/DeterminateSystems/nix-src/pull/270) + +### Use our mirrored flake registry + +The flake registry is security-critical and thus should have high availability. + +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. + +PR: [DeterminateSystems/nix-src#271](https://github.com/DeterminateSystems/nix-src/pull/271) **Full Changelog**: [v3.13.1...v3.13.2](https://github.com/DeterminateSystems/nix-src/compare/v3.13.1...v3.13.2)