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/glossary.md
+15-5Lines changed: 15 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,9 +31,22 @@
31
31
32
32
The industry term for storage and retrieval systems using [content addressing](#gloss-content-address). A Nix store also has [input addressing](#gloss-input-addressed-store-object), and metadata.
33
33
34
+
-[derivation]{#gloss-derivation}
35
+
36
+
A derivation can be thought of as a [pure function](https://en.wikipedia.org/wiki/Pure_function) that produces new [store objects][store object] from existing store objects.
37
+
38
+
Derivations are implemented as [operating system processes that run in a sandbox](@docroot@/store/building.md#builder-execution).
39
+
This sandbox by default only allows reading from store objects specified as inputs, and only allows writing to designated [outputs][output] to be [captured as store objects](@docroot@/store/building.md#processing-outputs).
40
+
41
+
A derivation is typically specified as a [derivation expression] in the [Nix language], and [instantiated][instantiate] to a [store derivation].
42
+
There are multiple ways of obtaining store objects from store derivatons, collectively called [realisation][realise].
43
+
44
+
[derivation]: #gloss-derivation
45
+
34
46
-[store derivation]{#gloss-store-derivation}
35
47
36
-
A single build task.
48
+
A [derivation] represented as a [store object].
49
+
37
50
See [Store Derivation](@docroot@/store/derivation/index.md#store-derivation) for details.
Copy file name to clipboardExpand all lines: doc/manual/source/language/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
@@ -1,6 +1,6 @@
1
1
# Nix Language
2
2
3
-
The Nix language is designed for conveniently creating and composing *derivations* – precise descriptions of how contents of existing files are used to derive new files.
3
+
The Nix language is designed for conveniently creating and composing [derivations](@docroot@/glossary.md#gloss-derivation) – precise descriptions of how contents of existing files are used to derive new files.
0 commit comments