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/store/resolution.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ Derivations that only have store paths as inputs are likewise called *resolved d
7
7
8
8
[Deriving paths][deriving-path] intentionally make it possible to refer to the same [store object] in multiple ways.
9
9
This is a consequence of content-addressing, since different derivations can produce the same outputs, and the same date can also be manually added to the store.
10
-
This is also a consequence even of input-addressing, as an output can be referred to by derivation and output name, or directly by its store path input address.
10
+
This is also a consequence even of input-addressing, as an output can be referred to by derivation and output name, or directly by its [computed](./outputs/input-address.md)store path.
11
11
Since dereferencing deriving paths is thus not injective, it induces an equivalence relation on deriving paths.
12
12
13
13
Let's call this equivalence relation \\(\\sim\\), where \\(p_1 \\sim p_2\\) means that deriving paths \\(p_1\\) and \\(p_2\\) refer to the same store object.
@@ -49,7 +49,7 @@ $}
49
49
Derivation resolution always maps derivations to input-content-equivalent derivations.
50
50
51
51
Similar to evaluation, we can also speak of *partial* vs *total* derivation resolution.
52
-
Total resolution is the function described above.
52
+
Total resolution is the _resolve_function described above.
53
53
For partial resolution, a derivation is related to equivalent derivations with the same or simpler inputs, but not all those inputs will be plain store paths.
54
54
This is useful when the input refers to a floating content addressed output we have not yet built --- we don't know what (content-address) store path will used for that derivation, so we are "stuck" trying to resolve derived path in question.
55
55
Partial resolution is not a function, but an (assymetic) relation, created by directing the above equivalence relation so the right-side items are always equal or simpler.
0 commit comments