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/language/advanced-attributes.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ Derivations can declare some infrequently used optional attributes.
73
73
74
74
> **Warning**
75
75
>
76
-
> If set to `true`, other advanced attributes such as [`allowedReferences`](#adv-attr-allowedReferences), [`allowedReferences`](#adv-attr-allowedReferences), [`allowedRequisites`](#adv-attr-allowedRequisites),
76
+
> If set to `true`, other advanced attributes such as [`allowedReferences`](#adv-attr-allowedReferences), [`allowedRequisites`](#adv-attr-allowedRequisites),
77
77
[`disallowedReferences`](#adv-attr-disallowedReferences) and [`disallowedRequisites`](#adv-attr-disallowedRequisites), maxSize, and maxClosureSize.
Copy file name to clipboardExpand all lines: doc/manual/source/store/derivation/outputs/content-address.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ The output spec for an output with a fixed content addresses additionally contai
23
23
> **Design note**
24
24
>
25
25
> In principle, the output spec could also specify the references the store object should have, since the references and file system objects are equally parts of a content-addressed store object proper that contribute to its content-addressed.
26
-
> However, at this time, the references are not not done because all fixed content-addressed outputs are required to have no references (including no self-reference).
26
+
> However, at this time, the references are not done because all fixed content-addressed outputs are required to have no references (including no self-reference).
27
27
>
28
28
> Also in principle, rather than specifying the references and file system object data with separate hashes, a single hash that constraints both could be used.
29
29
> This could be done with the final store path's digest, or better yet, the hash that will become the store path's digest before it is truncated.
@@ -116,7 +116,7 @@ Because the derivation output is not fixed (just like with [input addressing]),
116
116
> (The "environment", in this case, consists of attributes such as the Operating System Nix runs atop, along with the operating-system-specific privileges that Nix has been granted.
117
117
> Because of how conventional operating systems like macos, Linux, etc. work, granting builders *fewer* privileges may ironically require that Nix be run with *more* privileges.)
118
118
119
-
That said, derivations producing floating content-addressed outputs may declare their builders as impure (like the builders of derivations producing producing fixed outputs).
119
+
That said, derivations producing floating content-addressed outputs may declare their builders as impure (like the builders of derivations producing fixed outputs).
120
120
This is provisionally supported as part of the [`impure-derivations`][xp-feature-impure-derivations] experimental feature.
121
121
122
122
### Compatibility negotiation
@@ -144,7 +144,7 @@ A *deterministic* content-addressing derivation should produce outputs with the
144
144
The choice of provisional store path can be thought of as an impurity, since it is an arbitrary choice.
145
145
146
146
If provisional outputs paths are deterministically chosen, we are in the first branch of part (1).
147
-
The builder the data it produces based on it in arbitrary ways, but this gets us closer to to [input addressing].
147
+
The builder the data it produces based on it in arbitrary ways, but this gets us closer to [input addressing].
148
148
Deterministically choosing the provisional path may be considered "complete sandboxing" by removing an impurity, but this is unsatisfactory
Copy file name to clipboardExpand all lines: doc/manual/source/store/derivation/outputs/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ The rules for this are fairly concise:
83
83
84
84
- A content-addressing derivation may be pure or impure
85
85
86
-
- If it is impure, it may be be fixed (typical), or it may be floating if the additional [`impure-derivations`][xp-feature-impure-derivations] experimental feature is enabled.
86
+
- If it is impure, it may be fixed (typical), or it may be floating if the additional [`impure-derivations`][xp-feature-impure-derivations] experimental feature is enabled.
0 commit comments