You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/manual/source/release-notes-determinate/changes.md
+10-35Lines changed: 10 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Changes between Nix and Determinate Nix
2
2
3
-
This section lists the differences between upstream Nix 2.33 and Determinate Nix 3.17.3.<!-- differences -->
3
+
This section lists the differences between upstream Nix 2.33 and Determinate Nix 3.18.0.<!-- differences -->
4
4
5
5
* In Determinate Nix, flakes are stable. You no longer need to enable the `flakes` experimental feature.
6
6
@@ -153,43 +153,16 @@ This section lists the differences between upstream Nix 2.33 and Determinate Nix
153
153
154
154
<!-- Determinate Nix version 3.15.2 -->
155
155
156
-
* Path inputs are now lazy [DeterminateSystems/nix-src#312](https://github.com/DeterminateSystems/nix-src/pull/312)
157
-
158
-
* Improved performance when fetching a lot of dependencies with curl [DeterminateSystems/nix-src#315](https://github.com/DeterminateSystems/nix-src/pull/315)
159
-
160
156
<!-- Determinate Nix version 3.16.0 -->
161
157
162
-
* Wasm support [DeterminateSystems/nix-src#309](https://github.com/DeterminateSystems/nix-src/pull/309)
163
-
164
-
* Fix hung downloads when `http-connections = 0`[DeterminateSystems/nix-src#327](https://github.com/DeterminateSystems/nix-src/pull/327)
165
-
166
-
* Support .gitattributes in subdirectories [DeterminateSystems/nix-src#335](https://github.com/DeterminateSystems/nix-src/pull/335)
* Determinate Nix has an experimental builtin `builtins.wasm` that allows the Nix language to be extended using any language that compiles to Wasm. [DeterminateSystems/nix-src#309](https://github.com/DeterminateSystems/nix-src/pull/309)
169
159
170
-
* builtins.getFlake: Support path values [DeterminateSystems/nix-src#338](https://github.com/DeterminateSystems/nix-src/pull/338)
* Increase the open file soft limit to the hard limit [DeterminateSystems/nix-src#347](https://github.com/DeterminateSystems/nix-src/pull/347)
162
+
* Determinate Nix has support for keeping track of the provenance of store paths. [DeterminateSystems/nix-src#321](https://github.com/DeterminateSystems/nix-src/pull/321)
177
163
178
164
<!-- Determinate Nix version 3.16.1 -->
179
165
180
-
181
-
* Record provenance for unlocked inputs and impure evaluations in [DeterminateSystems/nix-src#354](https://github.com/DeterminateSystems/nix-src/pull/354)
182
-
183
-
* Add setting narinfo-cache-meta-ttl in [DeterminateSystems/nix-src#355](https://github.com/DeterminateSystems/nix-src/pull/355)
184
-
185
-
* Add derivationWithMeta builtin in [DeterminateSystems/nix-src#357](https://github.com/DeterminateSystems/nix-src/pull/357)
186
-
187
-
* Add builtins.wasi in [DeterminateSystems/nix-src#359](https://github.com/DeterminateSystems/nix-src/pull/359)
188
-
189
-
* Add `nix provenance verify` command in [DeterminateSystems/nix-src#356](https://github.com/DeterminateSystems/nix-src/pull/356)
190
-
191
-
* builtins.hashString: Devirtualize lazy paths, and re-enable lazy trees tests in [DeterminateSystems/nix-src#360](https://github.com/DeterminateSystems/nix-src/pull/360)
192
-
193
166
<!-- Determinate Nix version 3.16.2 -->
194
167
195
168
@@ -201,10 +174,12 @@ This section lists the differences between upstream Nix 2.33 and Determinate Nix
201
174
202
175
<!-- Determinate Nix version 3.17.1 -->
203
176
204
-
* Flake inputs are substituted if possible before fetching from the authoritative source, in [DeterminateSystems/nix-src#380](https://github.com/DeterminateSystems/nix-src/pull/380)
205
-
206
-
* Provenance now supports additional nix.conf-defined tags, in [DeterminateSystems/nix-src#374](https://github.com/DeterminateSystems/nix-src/pull/374)
207
-
208
177
<!-- Determinate Nix version 3.17.2 -->
209
178
210
179
<!-- Determinate Nix version 3.17.3 -->
180
+
181
+
<!-- Determinate Nix version 3.18.0 -->
182
+
183
+
* Determinate Nix can upload crash info to Sentry. [DeterminateSystems/nix-src#418](https://github.com/DeterminateSystems/nix-src/pull/418)
184
+
185
+
* Determinate Nix provides the pre-build hook with a JSON serialization of the derivation. [DeterminateSystems/nix-src#424](https://github.com/DeterminateSystems/nix-src/pull/424)
### 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.
### 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).
0 commit comments