aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/language/builtin-constants.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual/src/language/builtin-constants.md')
-rw-r--r--doc/manual/src/language/builtin-constants.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/manual/src/language/builtin-constants.md b/doc/manual/src/language/builtin-constants.md
index 74e87146f..970bf6c5a 100644
--- a/doc/manual/src/language/builtin-constants.md
+++ b/doc/manual/src/language/builtin-constants.md
@@ -7,3 +7,14 @@ These constants are built into the Nix language evaluator:
{{#include @generated@/language/builtin-constants.md}}
</dl>
+
+## Things which might be mistaken for constants
+
+<dl>
+<dt><code>__curPos</code></dt>
+<dd>
+
+This is not a constant but a [context-dependent keyword](@docroot@/language/constructs.md#keywords-__curPos)
+
+</dd>
+</dl>