aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFelix Uhl <felix.uhl@netlight.com>2023-01-24 00:15:12 +0100
committerFelix Uhl <felix.uhl@netlight.com>2023-01-24 00:19:43 +0100
commitdc4aa383e991fbe9fa20b047c6812e4f34a332ea (patch)
tree47cb322e8521690b8822006638b3a85982266f04 /doc
parentf503ba1b8b5912083a6112e3cf082e3525ba258d (diff)
doc: fix anchor links in and to glossary
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/src/command-ref/nix-store.md4
-rw-r--r--doc/manual/src/glossary.md4
2 files changed, 6 insertions, 2 deletions
diff --git a/doc/manual/src/command-ref/nix-store.md b/doc/manual/src/command-ref/nix-store.md
index f6017481c..403cf285d 100644
--- a/doc/manual/src/command-ref/nix-store.md
+++ b/doc/manual/src/command-ref/nix-store.md
@@ -82,8 +82,8 @@ paths. Realisation is a somewhat overloaded term:
produced through substitutes. If there are no (successful)
substitutes, realisation fails.
-[valid]: ../glossary.md#validity
-[substitutes]: ../glossary.md#substitute
+[valid]: ../glossary.md#gloss-validity
+[substitutes]: ../glossary.md#gloss-substitute
The output path of each derivation is printed on standard output. (For
non-derivations argument, the argument itself is printed.)
diff --git a/doc/manual/src/glossary.md b/doc/manual/src/glossary.md
index 5a49af8dc..6004df833 100644
--- a/doc/manual/src/glossary.md
+++ b/doc/manual/src/glossary.md
@@ -156,6 +156,8 @@
to path `Q`, then `Q` is in the closure of `P`. Further, if `Q`
references `R` then `R` is also in the closure of `P`.
+ [closure]: #gloss-closure
+
- [output path]{#gloss-output-path}\
A [store path] produced by a [derivation].
@@ -172,6 +174,8 @@
- The store path is listed in the Nix database as being valid.
- All paths in the store path's [closure] are valid.
+ [validity]: #gloss-validity
+
- [user environment]{#gloss-user-env}\
An automatically generated store object that consists of a set of
symlinks to “active” applications, i.e., other store paths. These