aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/language/builtins.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual/src/language/builtins.md')
-rw-r--r--doc/manual/src/language/builtins.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/manual/src/language/builtins.md b/doc/manual/src/language/builtins.md
new file mode 100644
index 000000000..2a3972f05
--- /dev/null
+++ b/doc/manual/src/language/builtins.md
@@ -0,0 +1,20 @@
+# Built-in Functions
+
+This section lists the functions built into the Nix language evaluator.
+All built-in functions are available through the global [`builtins`](./builtin-constants.md#builtins-builtins) constant.
+
+For convenience, some built-ins can be accessed directly:
+
+- [`derivation`](#builtins-derivation)
+- [`import`](#builtins-import)
+- [`abort`](#builtins-abort)
+- [`throw`](#builtins-throw)
+
+<dl>
+ <dt id="builtins-derivation"><a href="#builtins-derivation"><code>derivation <var>attrs</var></code></a></dt>
+ <dd><p><var>derivation</var> is described in
+ <a href="derivations.md">its own section</a>.</p></dd>
+
+{{#include @generated@/language/builtins.md}}
+
+</dl>