diff --git a/doc/manual/expressions/builtins.xml b/doc/manual/expressions/builtins.xml index 22d998bd..cefc8b78 100644 --- a/doc/manual/expressions/builtins.xml +++ b/doc/manual/expressions/builtins.xml @@ -23,6 +23,7 @@ available as builtins.derivation. abort s + builtins.abort s Abort Nix expression evaluation, print error message s. @@ -251,6 +252,8 @@ if builtins ? getEnv then builtins.getEnv "PATH" else "" derivation attrs + builtins.derivation + attrs derivation is described in . @@ -260,6 +263,7 @@ if builtins ? getEnv then builtins.getEnv "PATH" else "" dirOf s + builtins.dirOf s Return the directory part of the string s, that is, everything before the final @@ -318,6 +322,8 @@ if builtins ? getEnv then builtins.getEnv "PATH" else "" fetchTarball url + builtins.fetchTarball + url Download the specified URL, unpack it and return the path of the unpacked tree. The file must be a tape archive @@ -714,6 +720,8 @@ builtins.genList (x: x * x) 5 import path + builtins.import + path Load, parse and return the Nix expression in the file path. If path @@ -857,6 +865,8 @@ x: x + 456 isNull e + builtins.isNull + e Return true if e evaluates to null, @@ -925,6 +935,8 @@ builtins.listToAttrs map f list + builtins.map + f list Apply the function f to each element in the list list. For @@ -1119,6 +1131,8 @@ Evaluates to [ "foo" ]. removeAttrs set list + builtins.removeAttrs + set list Remove the attributes listed in list from @@ -1287,6 +1301,8 @@ builtins.substring 0 3 "nixos" throw s + builtins.throw + s Throw an error message s. This usually aborts Nix expression @@ -1405,6 +1421,7 @@ in foo toString e + builtins.toString e Convert the expression e to a string.