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
This section lists the differences between upstream Nix 2.31 and Determinate Nix 3.11.1.<!-- differences -->
3
+
This section lists the differences between upstream Nix 2.31 and Determinate Nix 3.11.2.<!-- differences -->
4
4
5
5
* In Determinate Nix, flakes are stable. You no longer need to enable the `flakes` experimental feature.
6
6
@@ -24,14 +24,12 @@ This section lists the differences between upstream Nix 2.31 and Determinate Nix
24
24
25
25
*`nix upgrade-nix` is now inert, and suggests using `determinate-nixd upgrade` -- [DeterminateSystems/nix-src#55](https://github.com/DeterminateSystems/nix-src/pull/55)
26
26
27
-
*Initial Lazy Trees support has been merged, but remains off by default. ([DeterminateSystems/nix-src#27](https://github.com/DeterminateSystems/nix-src/pull/27), [DeterminateSystems/nix-src#56](https://github.com/DeterminateSystems/nix-src/pull/56))
27
+
* Lazy Trees support has been merged. ([DeterminateSystems/nix-src#27](https://github.com/DeterminateSystems/nix-src/pull/27), [DeterminateSystems/nix-src#56](https://github.com/DeterminateSystems/nix-src/pull/56))
28
28
29
29
<!-- Determinate Nix version 3.5.2 -->
30
30
31
-
* Tell users a source is corrupted ("cannot read file from tarball: Truncated tar archive detected while reading data"), improving over the previous 'cannot read file from tarball' error by @edolstra in [DeterminateSystems/nix-src#64](https://github.com/DeterminateSystems/nix-src/pull/64)
32
31
<!-- Determinate Nix version 3.6.0 -->
33
32
34
-
* Emit warnings when using import-from-derivation by setting the `trace-import-from-derivation` option to `true` by @gustavderdrache in [DeterminateSystems/nix-src#70](https://github.com/DeterminateSystems/nix-src/pull/70)
35
33
<!-- Determinate Nix version 3.6.1 -->
36
34
37
35
<!-- Determinate Nix version 3.6.2 -->
@@ -40,8 +38,6 @@ This section lists the differences between upstream Nix 2.31 and Determinate Nix
40
38
41
39
* Document how to replicate nix-store --query --deriver with the nix cli by @grahamc in [DeterminateSystems/nix-src#82](https://github.com/DeterminateSystems/nix-src/pull/82)
42
40
43
-
* Garbage collector: Keep going even when encountering an undeletable file by @edolstra in [DeterminateSystems/nix-src#83](https://github.com/DeterminateSystems/nix-src/pull/83)
44
-
45
41
* nix profile: Replace ε and ∅ with descriptive English words by @grahamc in [DeterminateSystems/nix-src#81](https://github.com/DeterminateSystems/nix-src/pull/81)
46
42
47
43
* Call out that `--keep-failed` with remote builders will keep the failed build directory on that builder by @cole-h in [DeterminateSystems/nix-src#85](https://github.com/DeterminateSystems/nix-src/pull/85)
@@ -55,22 +51,12 @@ This section lists the differences between upstream Nix 2.31 and Determinate Nix
55
51
56
52
* Indicate that sandbox-paths specifies a missing file in the corresponding error message. by @cole-h in [DeterminateSystems/nix-src#88](https://github.com/DeterminateSystems/nix-src/pull/88)
57
53
58
-
* Use 'published' release type to avoid double uploads by @gustavderdrache in [DeterminateSystems/nix-src#90](https://github.com/DeterminateSystems/nix-src/pull/90)
59
-
60
-
* Render lazy tree paths in messages withouth the/nix/store/hash... prefix in substituted source trees by @edolstra in [DeterminateSystems/nix-src#91](https://github.com/DeterminateSystems/nix-src/pull/91)
61
-
62
54
* Use FlakeHub inputs by @lucperkins in [DeterminateSystems/nix-src#89](https://github.com/DeterminateSystems/nix-src/pull/89)
63
55
64
56
* Proactively cache more flake inputs and fetches by @edolstra in [DeterminateSystems/nix-src#93](https://github.com/DeterminateSystems/nix-src/pull/93)
65
57
66
-
* Fix: register extra builtins just once by @edolstra in [DeterminateSystems/nix-src#97](https://github.com/DeterminateSystems/nix-src/pull/97)
67
-
68
-
* Fix: Make the S3 test more robust by @gustavderdrache in [DeterminateSystems/nix-src#101](https://github.com/DeterminateSystems/nix-src/pull/101)
69
-
70
58
* Fix the link to `builders-use-substitutes` documentation for `builders` by @lucperkins in [DeterminateSystems/nix-src#102](https://github.com/DeterminateSystems/nix-src/pull/102)
71
59
72
-
* Improve error messages that use the hypothetical future tense of "will" by @lucperkins in [DeterminateSystems/nix-src#92](https://github.com/DeterminateSystems/nix-src/pull/92)
73
-
74
60
* Improve caching of inputs in dry-run mode by @edolstra in [DeterminateSystems/nix-src#98](https://github.com/DeterminateSystems/nix-src/pull/98)
75
61
76
62
<!-- Determinate Nix version 3.6.6 -->
@@ -83,24 +69,14 @@ This section lists the differences between upstream Nix 2.31 and Determinate Nix
83
69
84
70
* Add lazy-locks setting by @edolstra in [DeterminateSystems/nix-src#113](https://github.com/DeterminateSystems/nix-src/pull/113)
85
71
86
-
* Sync 2.29.1 by @edolstra in [DeterminateSystems/nix-src#124](https://github.com/DeterminateSystems/nix-src/pull/124)
87
-
88
-
* Release v3.6.7 by @github-actions in [DeterminateSystems/nix-src#126](https://github.com/DeterminateSystems/nix-src/pull/126)
89
-
90
72
<!-- Determinate Nix version 3.7.0 -->
91
73
92
-
* Overriding deeply-nested transitive flake inputs now works, by @edolstra in [DeterminateSystems/nix-src#108](https://github.com/DeterminateSystems/nix-src/pull/108)
93
-
94
74
*`nix store delete` now explains why deletion fails by @edolstra in [DeterminateSystems/nix-src#130](https://github.com/DeterminateSystems/nix-src/pull/130)
95
75
96
-
* 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)
97
-
98
76
<!-- Determinate Nix version 3.8.0 -->
99
77
100
78
* nix flake check: Skip substitutable derivations by @edolstra in [DeterminateSystems/nix-src#134](https://github.com/DeterminateSystems/nix-src/pull/134)
101
79
102
-
* 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)
103
-
104
80
<!-- Determinate Nix version 3.8.1 -->
105
81
106
82
* Address ifdef problem with macOS/BSD sandboxing by @gustavderdrache in [DeterminateSystems/nix-src#142](https://github.com/DeterminateSystems/nix-src/pull/142)
@@ -109,34 +85,23 @@ This section lists the differences between upstream Nix 2.31 and Determinate Nix
109
85
110
86
* ci: don't run the full test suite for x86_64-darwin by @grahamc in [DeterminateSystems/nix-src#144](https://github.com/DeterminateSystems/nix-src/pull/144)
111
87
112
-
* Try publishing the manual again by @grahamc in [DeterminateSystems/nix-src#145](https://github.com/DeterminateSystems/nix-src/pull/145)
113
-
114
88
<!-- Determinate Nix version 3.8.3 -->
115
89
116
-
* Add an `external-builders` experimental feature [DeterminateSystems/nix-src#141](https://github.com/DeterminateSystems/nix-src/pull/141)
117
-
118
-
* Add support for external builders [DeterminateSystems/nix-src#78](https://github.com/DeterminateSystems/nix-src/pull/78)
90
+
* Add an `external-builders` experimental feature [DeterminateSystems/nix-src#141](https://github.com/DeterminateSystems/nix-src/pull/141),
* Revert "Use WAL mode for SQLite cache databases" [DeterminateSystems/nix-src#155](https://github.com/DeterminateSystems/nix-src/pull/155)
123
-
124
95
<!-- Determinate Nix version 3.8.5 -->
125
96
126
-
* Tab completing arguments to Nix avoids network access. [DeterminateSystems/nix-src#161](https://github.com/DeterminateSystems/nix-src/pull/161)
127
-
128
-
* Nix on ZFS no longer stalls for multiple seconds at a time [DeterminateSystems/nix-src#158](https://github.com/DeterminateSystems/nix-src/pull/158)
97
+
* Tab completing arguments to Nix avoids network access [DeterminateSystems/nix-src#161](https://github.com/DeterminateSystems/nix-src/pull/161)
129
98
130
-
* Importing Nixpkgs and other tarballs to the cache 2-4x faster [DeterminateSystems/nix-src#149](https://github.com/DeterminateSystems/nix-src/pull/149)
99
+
* Importing Nixpkgs and other tarballs to the cache is 2-4x faster [DeterminateSystems/nix-src#149](https://github.com/DeterminateSystems/nix-src/pull/149)
131
100
132
101
* Adding paths to the store is significantly faster [DeterminateSystems/nix-src#162](https://github.com/DeterminateSystems/nix-src/pull/162)
133
102
134
103
<!-- Determinate Nix version 3.8.6 -->
135
104
136
-
* Use WAL mode for SQLite cache databases (2nd attempt) [DeterminateSystems/nix-src#167](https://github.com/DeterminateSystems/nix-src/pull/167)
137
-
138
-
* Enable parallel marking in boehm-gc [DeterminateSystems/nix-src#168](https://github.com/DeterminateSystems/nix-src/pull/168)
@@ -156,3 +121,9 @@ This section lists the differences between upstream Nix 2.31 and Determinate Nix
156
121
157
122
<!-- Determinate Nix version 3.11.1 -->
158
123
124
+
125
+
<!-- Determinate Nix version 3.11.2 -->
126
+
127
+
* Fix some interactions with the registry and flakes that include a `?dir=` parameter [DeterminateSystems/nix-src#196](https://github.com/DeterminateSystems/nix-src/pull/196), [DeterminateSystems/nix-src#199](https://github.com/DeterminateSystems/nix-src/pull/199)
128
+
129
+
* Only try to substitute input if fetching from its original location fails [DeterminateSystems/nix-src#202](https://github.com/DeterminateSystems/nix-src/pull/202)
* Based on [upstream Nix 2.31.1](../release-notes/rl-2.31.md).
4
+
5
+
## What's Changed
6
+
7
+
### Fix some interactions with the registry and flakes that include a `?dir=` parameter
8
+
9
+
Some users were experiencing issues when their flake registry contained a flake that included a `?dir=` parameter, causing commands like `nix eval registry-with-flake-in-subdir#output` and those that used --inputs-from` to fail or behave incorrectly.
10
+
11
+
This is now fixed, so use your flakes inside subdirs without fear!
### Only substitute inputs if they haven't already been fetched
16
+
17
+
When using `lazy-trees`, you might have noticed Nix fetching some source inputs from a cache, even though you could have sworn it already fetched those inputs!
18
+
19
+
This fixes that behavior such that Nix will try to fetch inputs from their original location, and only if that fails fall back to fetching from a substituter.
0 commit comments