aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/expressions/builtin-constants.md
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2022-05-25 12:36:46 +0200
committerJan Tojnar <jtojnar@gmail.com>2022-05-26 18:17:21 +0200
commit7708a34a514ddeb1420886309ae9870d8757f7ce (patch)
tree7f90d891b1e754c8b6b1d212b220d738d8065779 /doc/manual/src/expressions/builtin-constants.md
parent3272afa17b68d25c8070e58819f2e56f075c764d (diff)
doc: Add anchors to long lists
Added using the following sed scripts: - For command-ref/opt-common.md: s~- `(--?)([^`]+)`~- [`\1\2`]{#opt-\2}~g - For expressions/builtin-constants.md: s~- `(builtins\.?)([^`]+)`~- [`\1\2`]{#builtins-\2}~g - For expressions/advanced-attributes.md s~^ - `([^`]+)`~ - [`\1`]{#adv-attr-\1}~g and manually adjusted outputHashAlgo & outputHashMode. - For glossary.md s~^ - (`([^`]+)`|(.+)) ?\\~ - [\1]{#gloss-\2\3}\\~g; s~(gloss-\w+) ~\1-~g and manually adjusted anchors for Nix expression, user environment, NAR, ∅ and ε. - For command-ref/env-common.md s~^ - `([^`]+)`~ - [`\1`]{#env-\1}~g'
Diffstat (limited to 'doc/manual/src/expressions/builtin-constants.md')
-rw-r--r--doc/manual/src/expressions/builtin-constants.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual/src/expressions/builtin-constants.md b/doc/manual/src/expressions/builtin-constants.md
index 1404289e5..78d066a82 100644
--- a/doc/manual/src/expressions/builtin-constants.md
+++ b/doc/manual/src/expressions/builtin-constants.md
@@ -14,7 +14,7 @@ Here are the constants built into the Nix expression evaluator:
This allows a Nix expression to fall back gracefully on older Nix
installations that don’t have the desired built-in function.
- - `builtins.currentSystem`\
+ - [`builtins.currentSystem`]{#builtins-currentSystem}\
The built-in value `currentSystem` evaluates to the Nix platform
identifier for the Nix installation on which the expression is being
evaluated, such as `"i686-linux"` or `"x86_64-darwin"`.