|
3 | 3 | * Based on [upstream Nix 2.33.3](../release-notes/rl-2.33.md). |
4 | 4 |
|
5 | 5 | ## 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) |
13 | 40 |
|
14 | 41 |
|
15 | 42 | **Full Changelog**: [v3.17.3...v3.18.0](https://github.com/DeterminateSystems/nix-src/compare/v3.17.3...v3.18.0) |
0 commit comments