From 165afeec5628cd0b7218b2d4a146418f2039d106 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 10 Jul 2025 15:11:32 +0000 Subject: [PATCH 1/4] Prepare release v3.8.0 From a78a2fdea1767702653d3626dc92a2afcc9584c3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 10 Jul 2025 15:11:35 +0000 Subject: [PATCH 2/4] Set .version-determinate to 3.8.0 --- .version-determinate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.version-determinate b/.version-determinate index 7c69a55db..19811903a 100644 --- a/.version-determinate +++ b/.version-determinate @@ -1 +1 @@ -3.7.0 +3.8.0 From c0dfe87d1dfb2ebc801267ea97370f9a028476ad Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 10 Jul 2025 15:11:40 +0000 Subject: [PATCH 3/4] Generate release notes for 3.8.0 --- doc/manual/source/SUMMARY.md.in | 1 + .../source/release-notes-determinate/changes.md | 14 +++++++++++++- .../source/release-notes-determinate/rl-3.8.0.md | 13 +++++++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 doc/manual/source/release-notes-determinate/rl-3.8.0.md diff --git a/doc/manual/source/SUMMARY.md.in b/doc/manual/source/SUMMARY.md.in index 00f231a6a..391a9ec93 100644 --- a/doc/manual/source/SUMMARY.md.in +++ b/doc/manual/source/SUMMARY.md.in @@ -130,6 +130,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.8.0 (2025-07-10)](release-notes-determinate/rl-3.8.0.md) - [Release 3.7.0 (2025-07-03)](release-notes-determinate/rl-3.7.0.md) - [Release 3.6.8 (2025-06-25)](release-notes-determinate/rl-3.6.8.md) - [Release 3.6.7 (2025-06-24)](release-notes-determinate/rl-3.6.7.md) diff --git a/doc/manual/source/release-notes-determinate/changes.md b/doc/manual/source/release-notes-determinate/changes.md index 0d4b2b1ad..c231e140e 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.29 and Determinate Nix 3.7.0. +This section lists the differences between upstream Nix 2.30 and Determinate Nix 3.8.0. * In Determinate Nix, flakes are stable. You no longer need to enable the `flakes` experimental feature. @@ -94,3 +94,15 @@ This section lists the differences between upstream Nix 2.29 and Determinate Nix * `nix store delete` now explains why deletion fails by @edolstra in [DeterminateSystems/nix-src#130](https://github.com/DeterminateSystems/nix-src/pull/130) * New command: `nix flake prefetch-inputs` for improved CI performance, by @edolstra in [DeterminateSystems/nix-src#127](https://github.com/DeterminateSystems/nix-src/pull/127) + + + +* Sync with upstream 2.30.0 by @edolstra in [DeterminateSystems/nix-src#135](https://github.com/DeterminateSystems/nix-src/pull/135) + +* nix flake check: Skip substitutable derivations by @edolstra in [DeterminateSystems/nix-src#134](https://github.com/DeterminateSystems/nix-src/pull/134) + +* lockFlake(): When updating a lock, respect the input's lock file by @edolstra in [DeterminateSystems/nix-src#137](https://github.com/DeterminateSystems/nix-src/pull/137) + +* Hide double copy warning by @edolstra in [DeterminateSystems/nix-src#138](https://github.com/DeterminateSystems/nix-src/pull/138) + +* Remove some dead code to minimize the upstream diff by @edolstra in [DeterminateSystems/nix-src#139](https://github.com/DeterminateSystems/nix-src/pull/139) diff --git a/doc/manual/source/release-notes-determinate/rl-3.8.0.md b/doc/manual/source/release-notes-determinate/rl-3.8.0.md new file mode 100644 index 000000000..01438bf2b --- /dev/null +++ b/doc/manual/source/release-notes-determinate/rl-3.8.0.md @@ -0,0 +1,13 @@ +# Release 3.8.0 (2025-07-10) + +* Based on [upstream Nix 2.30.0](../release-notes/rl-2.30.md). + +## What's Changed +* Sync with upstream 2.30.0 by @edolstra in [DeterminateSystems/nix-src#135](https://github.com/DeterminateSystems/nix-src/pull/135) +* nix flake check: Skip substitutable derivations by @edolstra in [DeterminateSystems/nix-src#134](https://github.com/DeterminateSystems/nix-src/pull/134) +* lockFlake(): When updating a lock, respect the input's lock file by @edolstra in [DeterminateSystems/nix-src#137](https://github.com/DeterminateSystems/nix-src/pull/137) +* Hide double copy warning by @edolstra in [DeterminateSystems/nix-src#138](https://github.com/DeterminateSystems/nix-src/pull/138) +* Remove some dead code to minimize the upstream diff by @edolstra in [DeterminateSystems/nix-src#139](https://github.com/DeterminateSystems/nix-src/pull/139) + + +**Full Changelog**: [v3.7.0...v3.8.0](https://github.com/DeterminateSystems/nix-src/compare/v3.7.0...v3.8.0) From 8f31e84247240cd931592062a27146330fac3c48 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Thu, 10 Jul 2025 11:26:10 -0400 Subject: [PATCH 4/4] Update release notes --- .../release-notes-determinate/changes.md | 6 ----- .../release-notes-determinate/rl-3.8.0.md | 26 +++++++++++++++---- 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/doc/manual/source/release-notes-determinate/changes.md b/doc/manual/source/release-notes-determinate/changes.md index c231e140e..cd5cce496 100644 --- a/doc/manual/source/release-notes-determinate/changes.md +++ b/doc/manual/source/release-notes-determinate/changes.md @@ -97,12 +97,6 @@ This section lists the differences between upstream Nix 2.30 and Determinate Nix -* Sync with upstream 2.30.0 by @edolstra in [DeterminateSystems/nix-src#135](https://github.com/DeterminateSystems/nix-src/pull/135) - * nix flake check: Skip substitutable derivations by @edolstra in [DeterminateSystems/nix-src#134](https://github.com/DeterminateSystems/nix-src/pull/134) * lockFlake(): When updating a lock, respect the input's lock file by @edolstra in [DeterminateSystems/nix-src#137](https://github.com/DeterminateSystems/nix-src/pull/137) - -* Hide double copy warning by @edolstra in [DeterminateSystems/nix-src#138](https://github.com/DeterminateSystems/nix-src/pull/138) - -* Remove some dead code to minimize the upstream diff by @edolstra in [DeterminateSystems/nix-src#139](https://github.com/DeterminateSystems/nix-src/pull/139) diff --git a/doc/manual/source/release-notes-determinate/rl-3.8.0.md b/doc/manual/source/release-notes-determinate/rl-3.8.0.md index 01438bf2b..4103d6df9 100644 --- a/doc/manual/source/release-notes-determinate/rl-3.8.0.md +++ b/doc/manual/source/release-notes-determinate/rl-3.8.0.md @@ -3,11 +3,27 @@ * Based on [upstream Nix 2.30.0](../release-notes/rl-2.30.md). ## What's Changed -* Sync with upstream 2.30.0 by @edolstra in [DeterminateSystems/nix-src#135](https://github.com/DeterminateSystems/nix-src/pull/135) -* nix flake check: Skip substitutable derivations by @edolstra in [DeterminateSystems/nix-src#134](https://github.com/DeterminateSystems/nix-src/pull/134) -* lockFlake(): When updating a lock, respect the input's lock file by @edolstra in [DeterminateSystems/nix-src#137](https://github.com/DeterminateSystems/nix-src/pull/137) -* Hide double copy warning by @edolstra in [DeterminateSystems/nix-src#138](https://github.com/DeterminateSystems/nix-src/pull/138) -* Remove some dead code to minimize the upstream diff by @edolstra in [DeterminateSystems/nix-src#139](https://github.com/DeterminateSystems/nix-src/pull/139) +### Faster CI with `nix flake check` + +`nix flake check` no longer downloads flake outputs if no building is necessary. + +This command is intended to validate that a flake can fully evaluate and all outputs can build. +If the outputs are available in a binary cache then both properties are confirmed to be true. +Notably, downloading the output from the binary cache is not strictly necessary for the validation. + +Previously, `nix flake check` would download a flake output if the full build is available in a binary cache. + +Some users will find this change significantly reduces costly bandwidth and CI workflow time. + +PR: [DeterminateSystems/nix-src#134](https://github.com/DeterminateSystems/nix-src/pull/134) + +### Improved flake locking of transitive dependencies + +Determinate Nix now re-locks all transitive dependencies when changing a flake input's source URL. + +This fixes an issue where in some scenarios Nix would not re-lock those inputs and incorrectly use the old inputs' dependencies. + +PR: [DeterminateSystems/nix-src#137](https://github.com/DeterminateSystems/nix-src/pull/137) **Full Changelog**: [v3.7.0...v3.8.0](https://github.com/DeterminateSystems/nix-src/compare/v3.7.0...v3.8.0)