aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/expressions/builtins.md.tmp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual/src/expressions/builtins.md.tmp')
-rw-r--r--doc/manual/src/expressions/builtins.md.tmp16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/manual/src/expressions/builtins.md.tmp b/doc/manual/src/expressions/builtins.md.tmp
new file mode 100644
index 000000000..95a73709e
--- /dev/null
+++ b/doc/manual/src/expressions/builtins.md.tmp
@@ -0,0 +1,16 @@
+# Built-in Functions
+
+This section lists the functions built into the Nix expression
+evaluator. (The built-in function `derivation` is discussed above.)
+Some built-ins, such as `derivation`, are always in scope of every Nix
+expression; you can just access them right away. But to prevent
+polluting the namespace too much, most built-ins are not in
+scope. Instead, you can access them through the `builtins` built-in
+value, which is a set that contains all built-in functions and values.
+For instance, `derivation` is also available as `builtins.derivation`.
+
+ - `derivation` *attrs*; `builtins.derivation` *attrs*\
+
+ `derivation` is described in [its own section](derivations.md).
+
+EvalCommand::getEvalState()0