Skip to content

Commit d4e789b

Browse files
committed
Update release notes
1 parent e2ba2c7 commit d4e789b

2 files changed

Lines changed: 38 additions & 17 deletions

File tree

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

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -211,16 +211,10 @@ This section lists the differences between upstream Nix 2.33 and Determinate Nix
211211

212212
<!-- Determinate Nix version 3.18.0 -->
213213

214-
* CI: Do the static build in a separate job by @edolstra in [DeterminateSystems/nix-src#419](https://github.com/DeterminateSystems/nix-src/pull/419)
214+
* LocalStore::addToStore(): Show hash mismatches in SRI format [DeterminateSystems/nix-src#423](https://github.com/DeterminateSystems/nix-src/pull/423)
215215

216-
* Backward compatibility hack for getFlake applied to unsafeDiscardStringContext by @edolstra in [DeterminateSystems/nix-src#422](https://github.com/DeterminateSystems/nix-src/pull/422)
216+
* Upload crash info to Sentry [DeterminateSystems/nix-src#418](https://github.com/DeterminateSystems/nix-src/pull/418)
217217

218-
* LocalStore::addToStore(): Show hash mismatches in SRI format by @edolstra in [DeterminateSystems/nix-src#423](https://github.com/DeterminateSystems/nix-src/pull/423)
218+
* Fix empty Git exports when using legacy Git compatibility [DeterminateSystems/nix-src#425](https://github.com/DeterminateSystems/nix-src/pull/425)
219219

220-
* Upload crash info to Sentry by @edolstra in [DeterminateSystems/nix-src#418](https://github.com/DeterminateSystems/nix-src/pull/418)
221-
222-
* boost::thread_resource_error improvements by @edolstra in [DeterminateSystems/nix-src#427](https://github.com/DeterminateSystems/nix-src/pull/427)
223-
224-
* getLegacyGitAccessor(): Don't ignore errors by @edolstra in [DeterminateSystems/nix-src#425](https://github.com/DeterminateSystems/nix-src/pull/425)
225-
226-
* Provide the pre-build hook with a JSON serialization of the derivation by @edolstra in [DeterminateSystems/nix-src#424](https://github.com/DeterminateSystems/nix-src/pull/424)
220+
* Provide the pre-build hook with a JSON serialization of the derivation [DeterminateSystems/nix-src#424](https://github.com/DeterminateSystems/nix-src/pull/424)

doc/manual/source/release-notes-determinate/v3.18.0.md

Lines changed: 34 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,40 @@
33
* Based on [upstream Nix 2.33.3](../release-notes/rl-2.33.md).
44

55
## What's Changed
6-
* CI: Do the static build in a separate job by @edolstra in [DeterminateSystems/nix-src#419](https://github.com/DeterminateSystems/nix-src/pull/419)
7-
* Backward compatibility hack for getFlake applied to unsafeDiscardStringContext by @edolstra in [DeterminateSystems/nix-src#422](https://github.com/DeterminateSystems/nix-src/pull/422)
8-
* LocalStore::addToStore(): Show hash mismatches in SRI format by @edolstra in [DeterminateSystems/nix-src#423](https://github.com/DeterminateSystems/nix-src/pull/423)
9-
* Upload crash info to Sentry by @edolstra in [DeterminateSystems/nix-src#418](https://github.com/DeterminateSystems/nix-src/pull/418)
10-
* boost::thread_resource_error improvements by @edolstra in [DeterminateSystems/nix-src#427](https://github.com/DeterminateSystems/nix-src/pull/427)
11-
* getLegacyGitAccessor(): Don't ignore errors by @edolstra in [DeterminateSystems/nix-src#425](https://github.com/DeterminateSystems/nix-src/pull/425)
12-
* Provide the pre-build hook with a JSON serialization of the derivation by @edolstra in [DeterminateSystems/nix-src#424](https://github.com/DeterminateSystems/nix-src/pull/424)
6+
7+
### Sentry integration
8+
9+
In order to more proactively keep track of crashes, Sentry is now integrated into Determinate Nix.
10+
11+
This allows us to more easily triage and remedy crashes that occur in the wild, without depending on manual use reports.
12+
13+
It can be enabled by:
14+
15+
* populating the file `/etc/nix/sentry-endpoint` with a Sentry DSN; or
16+
* setting the `NIX_SENTRY_ENDPOINT` environment variable to a Sentry DSN
17+
18+
and can be disabled by:
19+
20+
* setting the environment variable `DETSYS_IDS_TELEMETRY` to the value `disabled`; or
21+
* setting the environment variable `NIX_SENTRY_ENDPOINT` to an empty string
22+
23+
PR: [DeterminateSystems/nix-src#418](https://github.com/DeterminateSystems/nix-src/pull/418)
24+
25+
### Pre-build hook now receives the JSON serialization of the derivation
26+
27+
The pre-build hook already received the path of the derivation as an argument, but that path doesn't typically exist when called as a remote build.
28+
29+
Now, the pre-build hook is spawned with the environment variable `NIX_DERIVATION_V4` set to a file that contains the JSON representation of the derivation in v4 format, allowing instrospection of e.g. `requiredSystemFeatures` for scheduling decisions.
30+
31+
PR: [DeterminateSystems/nix-src#424](https://github.com/DeterminateSystems/nix-src/pull/424)
32+
33+
### Fix empty Git exports when using legacy Git compatibility
34+
35+
A regression introduced in v3.16.0 made it possible for there to be empty Git exports in the Nix store when using legacy Git flakes (those depending on Nix 2.19 lockfile semantics).
36+
37+
This is now fixed.
38+
39+
PR: [DeterminateSystems/nix-src#425](https://github.com/DeterminateSystems/nix-src/pull/425)
1340

1441

1542
**Full Changelog**: [v3.17.3...v3.18.0](https://github.com/DeterminateSystems/nix-src/compare/v3.17.3...v3.18.0)

0 commit comments

Comments
 (0)