Expand description
This module implements the builtins exposed in the Nix language.
See //snix/eval/docs/builtins.md for a some context on the available builtins in Nix.
Modulesยง
- hash ๐
 - impure ๐
 - placeholder_
builtins ๐ - pure_
builtins ๐ - to_xml ๐
 - This module implements 
builtins.toXML, which is a serialisation of value information as well as internal snix state that several things in nixpkgs rely on. - versions ๐
 
Structsยง
- Builtin
State ๐ 
Constantsยง
Functionsยง
- bgc_
insert_ ๐key  - Internal helper function for genericClosure, determining whether a value has been seen before.
 - coerce_
value_ to_ path  - Coerce a Nix Value to a plain path, e.g. in order to access the
file it points to via either 
builtins.toPathor an impure builtin. This coercion can never be performed in a Nix program without using builtins (i.e. the trickpath: /. + pathto convert from a string to a path wouldnโt hit this code). - impure_
builtins  - Return all impure builtins, that is all builtins which may perform I/O outside of the VM and so cannot be used in all contexts (e.g. WASM).
 - placeholders
 - pure_
builtins  - The set of standard pure builtins in Nix, mostly concerned with data structure manipulation (string, attrs, list, etc. functions).
 - value_
to_ xml  - Recursively serialise a value to XML. The value must have been deep-forced before being passed to this function. On success, returns the NixContext.