Module builtins

Source
Expand description

Contains builtins that deal with the store or builder.

Modulesยง

derivation ๐Ÿ”’
Implements builtins.derivation, the core of what makes Nix build packages.
errors ๐Ÿ”’
Contains errors that can occur during evaluation of builtins in this crate
fetchers ๐Ÿ”’
Contains builtins that fetch paths from the Internet, or local filesystem.
import ๐Ÿ”’
Implements builtins used to import paths in the store.
utils ๐Ÿ”’

Enumsยง

DerivationError
Errors related to derivation construction
FetcherError
ImportError
Errors related to builtins.path and builtins.filterSource, a.k.a. โ€œimportingโ€ builtins.

Functionsยง

add_derivation_builtins
Adds derivation-related builtins to the passed snix_eval::EvaluationBuilder:
add_fetcher_builtins
Adds fetcher builtins to the passed snix_eval::EvaluationBuilder:
add_import_builtins
Adds import-related builtins to the passed snix_eval::EvaluationBuilder: