1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-09 18:41:03 +01:00

Merge pull request #140 from DeterminateSystems/release-v3.8.0/5087c9ef-5c71-4e74-ab80-c4344c05847c

Release v3.8.0
This commit is contained in:
Graham Christensen 2025-07-10 15:48:35 +00:00 committed by GitHub
commit 2374da56fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 38 additions and 2 deletions

View file

@ -1 +1 @@
3.7.0
3.8.0

View file

@ -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)<!-- next -->
- [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)

View file

@ -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.<!-- differences -->
This section lists the differences between upstream Nix 2.30 and Determinate Nix 3.8.0.<!-- differences -->
* In Determinate Nix, flakes are stable. You no longer need to enable the `flakes` experimental feature.
@ -94,3 +94,9 @@ 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)
<!-- Determinate Nix version 3.8.0 -->
* 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)

View file

@ -0,0 +1,29 @@
# Release 3.8.0 (2025-07-10)
* Based on [upstream Nix 2.30.0](../release-notes/rl-2.30.md).
## What's Changed
### 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)