Skip to content

Commit b813a76

Browse files
committed
Merge remote-tracking branch 'origin/master' into self-input-attrs
2 parents 6e2fcb7 + 1f485b6 commit b813a76

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+838
-390
lines changed

doc/manual/redirects.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,9 @@ const redirects = {
346346
"scoping-rules": "scoping.html",
347347
"string-literal": "string-literals.html",
348348
},
349+
"language/derivations.md": {
350+
"builder-execution": "store/drv/building.md#builder-execution",
351+
},
349352
"installation/installing-binary.html": {
350353
"linux": "uninstall.html#linux",
351354
"macos": "uninstall.html#macos",
@@ -372,6 +375,7 @@ const redirects = {
372375
"glossary.html": {
373376
"gloss-local-store": "store/types/local-store.html",
374377
"gloss-chroot-store": "store/types/local-store.html",
378+
"gloss-content-addressed-derivation": "#gloss-content-addressing-derivation",
375379
},
376380
};
377381

doc/manual/source/SUMMARY.md.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
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+
- [Store Derivation and Deriving Path](store/drv.md)
26+
- [Building](store/building.md)
2527
- [Store Types](store/types/index.md)
2628
{{#include ./store/types/SUMMARY.md}}
2729
- [Nix Language](language/index.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-env/install.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ 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

29-
[derivation]: @docroot@/glossary.md#gloss-derivation
29+
[derivation expression]: @docroot@/glossary.md#gloss-derivation-expression
3030
[default Nix expression]: @docroot@/command-ref/files/default-nix-expression.md
3131
[realised]: @docroot@/glossary.md#gloss-realise
3232

@@ -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 derivations](@docroot@/glossary.md#gloss-store-derivation), then these 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] that are not store 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`

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

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

126126
- `--drv-path`
127127

128-
Print the path of the [store derivation](@docroot@/glossary.md#gloss-store-derivation).
128+
Print the [store path] to the [store derivation].
129+
130+
[store path]: @docroot@/glossary.md#gloss-store-path
131+
[store derivation]: @docroot@/glossary.md#gloss-derivation
129132

130133
- `--out-path`
131134

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ md5sum`.
6767
- `--type` *hashAlgo*
6868

6969
Use the specified cryptographic hash algorithm, which can be one of
70-
`md5`, `sha1`, `sha256`, and `sha512`.
70+
`blake3`, `md5`, `sha1`, `sha256`, and `sha512`.
7171

7272
- `--to-base16`
7373

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ standard input.
4242
- `--eval`
4343

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

4848
> **Warning**
4949
>

doc/manual/source/command-ref/nix-prefetch-url.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ the path of the downloaded file in the Nix store is also printed.
4242
- `--type` *hashAlgo*
4343

4444
Use the specified cryptographic hash algorithm,
45-
which can be one of `md5`, `sha1`, `sha256`, and `sha512`.
45+
which can be one of `blake3`, `md5`, `sha1`, `sha256`, and `sha512`.
4646
The default is `sha256`.
4747

4848
- `--print-path`

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Each of *paths* is processed as follows:
1515
1. If it is not [valid], substitute the store derivation file itself.
1616
2. Realise its [output paths]:
1717
- Try to fetch from [substituters] the [store objects] associated with the output paths in the store derivation's [closure].
18-
- With [content-addressed derivations] (experimental):
18+
- With [content-addressing 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:
2121
1. Realise all outputs of the derivation's dependencies
@@ -32,7 +32,7 @@ If no substitutes are available and no store derivation is given, realisation fa
3232
[store objects]: @docroot@/store/store-object.md
3333
[closure]: @docroot@/glossary.md#gloss-closure
3434
[substituters]: @docroot@/command-ref/conf-file.md#conf-substituters
35-
[content-addressed derivations]: @docroot@/development/experimental-features.md#xp-feature-ca-derivations
35+
[content-addressing derivations]: @docroot@/development/experimental-features.md#xp-feature-ca-derivations
3636
[Nix database]: @docroot@/glossary.md#gloss-nix-database
3737

3838
The resulting paths are printed on standard output.

doc/manual/source/development/testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ $ checkPhase
164164

165165
Sometimes it is useful to group related tests so they can be easily run together without running the entire test suite.
166166
Each test group is in a subdirectory of `tests`.
167-
For example, `tests/functional/ca/meson.build` defines a `ca` test group for content-addressed derivation outputs.
167+
For example, `tests/functional/ca/meson.build` defines a `ca` test group for content-addressing derivation outputs.
168168

169169
That test group can be run like this:
170170

0 commit comments

Comments
 (0)