Skip to content

Commit 54d684e

Browse files
committed
Call it "store derivation", again, but keep "derivation expression"
A compromise that also should cut down on the diff.
1 parent f003b8c commit 54d684e

35 files changed

+98
-94
lines changed

doc/manual/redirects.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,6 @@ const redirects = {
375375
"glossary.html": {
376376
"gloss-local-store": "store/types/local-store.html",
377377
"gloss-chroot-store": "store/types/local-store.html",
378-
"gloss-store-derivation": "#gloss-derivation",
379378
},
380379
};
381380

doc/manual/source/SUMMARY.md.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
- [Store Object](store/store-object.md)
2323
- [Content-Addressing Store Objects](store/store-object/content-address.md)
2424
- [Store Path](store/store-path.md)
25-
- [Derivation and Deriving Path](store/drv.md)
25+
- [Store Derivation and Deriving Path](store/drv.md)
2626
- [Building](store/building.md)
2727
- [Store Types](store/types/index.md)
2828
{{#include ./store/types/SUMMARY.md}}

doc/manual/source/architecture/architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ It can also execute build plans to produce new data, which are made available to
6969
A build plan itself is a series of *build tasks*, together with their build inputs.
7070

7171
> **Important**
72-
> A build task in Nix is called [derivation](@docroot@/glossary.md#gloss-derivation).
72+
> A build task in Nix is called [store derivation](@docroot@/glossary.md#gloss-store-derivation).
7373
7474
Each build task has a special build input executed as *build instructions* in order to perform the build.
7575
The result of a build task can be input to another build task.

doc/manual/source/command-ref/nix-build.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ directory containing at least a file named `default.nix`.
3737

3838
`nix-build` is essentially a wrapper around
3939
[`nix-instantiate`](nix-instantiate.md) (to translate a high-level Nix
40-
expression to a low-level [derivation]) and [`nix-store
40+
expression to a low-level [store derivation]) and [`nix-store
4141
--realise`](@docroot@/command-ref/nix-store/realise.md) (to build the store
4242
derivation).
4343

44-
[derivation]: @docroot@/glossary.md#gloss-derivation
44+
[store derivation]: @docroot@/glossary.md#gloss-store-derivation
4545

4646
> **Warning**
4747
>
@@ -80,7 +80,7 @@ except for `--arg` and `--attr` / `-A` which are passed to [`nix-instantiate`](n
8080

8181
```console
8282
$ nix-build '<nixpkgs>' --attr firefox
83-
derivation is /nix/store/qybprl8sz2lc...-firefox-1.5.0.7.drv
83+
store derivation is /nix/store/qybprl8sz2lc...-firefox-1.5.0.7.drv
8484
/nix/store/d18hyl92g30l...-firefox-1.5.0.7
8585

8686
$ ls -l result

doc/manual/source/command-ref/nix-copy-closure.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ When using public key authentication, you can avoid typing the passphrase with `
4242

4343
- `--include-outputs`
4444

45-
Also copy the outputs of [derivation]s included in the closure.
45+
Also copy the outputs of [store derivation]s included in the closure.
4646

47-
[derivation]: @docroot@/glossary.md#gloss-derivation
47+
[store derivation]: @docroot@/glossary.md#gloss-store-derivation
4848

4949
- `--use-substitutes` / `-s`
5050

doc/manual/source/command-ref/nix-env/install.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ It is based on the current generation of the active [profile](@docroot@/command-
2222

2323
The arguments *args* map to store paths in a number of possible ways:
2424

25-
- By default, *args* is a set of [derivation] names denoting derivations in the [default Nix expression].
25+
- By default, *args* is a set of names denoting derivations in the [default Nix expression].
2626
These are [realised], and the resulting output paths are installed.
2727
Currently installed derivations with a name equal to the name of a derivation being added are removed unless the option `--preserve-installed` is specified.
2828

@@ -66,11 +66,11 @@ The arguments *args* map to store paths in a number of possible ways:
6666
This can be used to override the priority of the derivations being installed.
6767
This is useful if *args* are [store paths], which don't have any priority information.
6868

69-
- If *args* are [store paths] to [derivations](@docroot@/glossary.md#gloss-derivation), then those derivations are [realised], and the resulting output paths are installed.
69+
- If *args* are [store paths] that point to [store derivations][store derivation], then those store derivations are [realised], and the resulting output paths are installed.
7070

71-
- If *args* are [store paths] not to derivations, then these are [realised] and installed.
71+
- If *args* are [store paths] that do not point to store derivations, then these are [realised] and installed.
7272

73-
- By default all [outputs](@docroot@/language/derivations.md#attr-outputs) are installed for each [derivation].
73+
- By default all [outputs](@docroot@/language/derivations.md#attr-outputs) are installed for each [store derivation].
7474
This can be overridden by adding a `meta.outputsToInstall` attribute on the derivation listing a subset of the output names.
7575

7676
Example:
@@ -122,6 +122,8 @@ The arguments *args* map to store paths in a number of possible ways:
122122
manifest.nix
123123
```
124124

125+
[store derivation]: @docroot@/glossary.md#gloss-store-derivation
126+
125127
# Options
126128

127129
- `--prebuilt-only` / `-b`
@@ -198,7 +200,7 @@ To copy the store path with symbolic name `gcc` from another profile:
198200
$ nix-env --install --from-profile /nix/var/nix/profiles/foo gcc
199201
```
200202

201-
To install a specific [derivation] (typically created by
203+
To install a specific [store derivation] (typically created by
202204
`nix-instantiate`):
203205

204206
```console

doc/manual/source/command-ref/nix-env/query.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ derivation is shown unless `--no-name` is specified.
125125

126126
- `--drv-path`
127127

128-
Print the [store path] to the [derivation].
128+
Print the [store path] to the [store derivation].
129129

130130
[store path]: @docroot@/glossary.md#gloss-store-path
131-
[derivation]: @docroot@/glossary.md#gloss-derivation
131+
[store derivation]: @docroot@/glossary.md#gloss-derivation
132132

133133
- `--out-path`
134134

doc/manual/source/command-ref/nix-instantiate.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Name
22

3-
`nix-instantiate` - instantiate derivations from Nix expressions
3+
`nix-instantiate` - instantiate store derivations from Nix expressions
44

55
# Synopsis
66

@@ -17,13 +17,13 @@
1717

1818
# Description
1919

20-
The command `nix-instantiate` produces [derivation]s from (high-level) Nix expressions.
20+
The command `nix-instantiate` produces [store derivation]s from (high-level) Nix expressions.
2121
It evaluates the Nix expressions in each of *files* (which defaults to
2222
*./default.nix*). Each top-level expression should evaluate to a
2323
derivation, a list of derivations, or a set of derivations. The paths
24-
of the resulting derivations are printed on standard output.
24+
of the resulting store derivations are printed on standard output.
2525

26-
[derivation]: @docroot@/glossary.md#gloss-derivation
26+
[store derivation]: @docroot@/glossary.md#gloss-store-derivation
2727

2828
If *files* is the character `-`, then a Nix expression will be read from
2929
standard input.
@@ -43,7 +43,7 @@ standard input.
4343

4444
Just parse and evaluate the input files, and print the resulting
4545
values on standard output.
46-
Derivations are not serialized and written to the store, but instead just hashed and discarded.
46+
Store derivations are not serialized and written to the store, but instead just hashed and discarded.
4747

4848
> **Warning**
4949
>
@@ -133,7 +133,7 @@ standard input.
133133
134134
# Examples
135135
136-
Instantiate [derivation]s from a Nix expression, and build them using `nix-store`:
136+
Instantiate [store derivation]s from a Nix expression, and build them using `nix-store`:
137137
138138
```console
139139
$ nix-instantiate test.nix (instantiate)

doc/manual/source/command-ref/nix-store/query.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ symlink.
2626

2727
- `--use-output` / `-u`
2828

29-
For each argument to the query that is a [derivation], apply the
29+
For each argument to the query that is a [store derivation], apply the
3030
query to the output path of the derivation instead.
3131

3232
- `--force-realise` / `-f`
3333

3434
Realise each argument to the query first (see [`nix-store --realise`](./realise.md)).
3535

36-
[derivation]: @docroot@/glossary.md#gloss-derivation
36+
[store derivation]: @docroot@/glossary.md#gloss-store-derivation
3737

3838
# Queries
3939

@@ -54,12 +54,12 @@ symlink.
5454
This query has one option:
5555

5656
- `--include-outputs`
57-
Also include the existing output paths of [derivation]s,
57+
Also include the existing output paths of [store derivation]s,
5858
and their closures.
5959

6060
This query can be used to implement various kinds of deployment. A
6161
*source deployment* is obtained by distributing the closure of a
62-
derivation. A *binary deployment* is obtained by distributing
62+
store derivation. A *binary deployment* is obtained by distributing
6363
the closure of an output path. A *cache deployment* (combined
6464
source/binary deployment, including binaries of build-time-only
6565
dependencies) is obtained by distributing the closure of a store
@@ -112,7 +112,7 @@ symlink.
112112
of the `dot` tool of AT\&T's [Graphviz
113113
package](http://www.graphviz.org/). This can be used to visualise
114114
dependency graphs. To obtain a build-time dependency graph, apply
115-
this to a derivation. To obtain a runtime dependency graph,
115+
this to a store derivation. To obtain a runtime dependency graph,
116116
apply it to an output path.
117117

118118
- `--tree`
@@ -128,13 +128,13 @@ symlink.
128128
Prints the references graph of the store paths *paths* in the
129129
[GraphML](http://graphml.graphdrawing.org/) file format. This can be
130130
used to visualise dependency graphs. To obtain a build-time
131-
dependency graph, apply this to a [derivation]. To obtain a
131+
dependency graph, apply this to a [store derivation]. To obtain a
132132
runtime dependency graph, apply it to an output path.
133133

134134
- `--binding` *name* / `-b` *name*
135135

136136
Prints the value of the attribute *name* (i.e., environment
137-
variable) of the [derivation]s *paths*. It is an error for a
137+
variable) of the [store derivation]s *paths*. It is an error for a
138138
derivation to not have the specified attribute.
139139

140140
- `--hash`

doc/manual/source/command-ref/nix-store/realise.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
Each of *paths* is processed as follows:
1313

14-
- If the path leads to a [derivation]:
15-
1. If it is not [valid], substitute the derivation file itself.
14+
- If the path leads to a [store derivation]:
15+
1. If it is not [valid], substitute the store derivation file itself.
1616
2. Realise its [output paths]:
17-
- Try to fetch from [substituters] the [store objects] associated with the output paths in the derivation's [closure].
17+
- Try to fetch from [substituters] the [store objects] associated with the output paths in the store derivation's [closure].
1818
- With [content-addressed derivations] (experimental):
1919
Determine the output paths to realise by querying content-addressed realisation entries in the [Nix database].
2020
- For any store paths that cannot be substituted, produce the required store objects:
@@ -23,11 +23,11 @@ Each of *paths* is processed as follows:
2323
<!-- TODO: Link to build process page #8888 -->
2424
- Otherwise, and if the path is not already valid: Try to fetch the associated [store objects] in the path's [closure] from [substituters].
2525

26-
If no substitutes are available and no derivation is given, realisation fails.
26+
If no substitutes are available and no store derivation is given, realisation fails.
2727

2828
[store paths]: @docroot@/store/store-path.md
2929
[valid]: @docroot@/glossary.md#gloss-validity
30-
[derivation]: @docroot@/glossary.md#gloss-derivation
30+
[store derivation]: @docroot@/glossary.md#gloss-store-derivation
3131
[output paths]: @docroot@/glossary.md#gloss-output-path
3232
[store objects]: @docroot@/store/store-object.md
3333
[closure]: @docroot@/glossary.md#gloss-closure
@@ -71,7 +71,7 @@ For non-derivation arguments, the argument itself is printed.
7171

7272
# Examples
7373

74-
This operation is typically used to build [derivation]s produced by
74+
This operation is typically used to build [store derivation]s produced by
7575
[`nix-instantiate`](@docroot@/command-ref/nix-instantiate.md):
7676

7777
```console

0 commit comments

Comments
 (0)