Re-exportsΒ§
ModulesΒ§
- errors π
- Contains DerivationError, exported as crate::derivation::DerivationError
- output π
- parse_
error π - This contains error and result types that can happen while parsing Derivations from ATerm.
- parser π
- This module constructs a Derivation by parsing its ATerm serialization.
- validate π
- write π
- This module implements the serialisation of derivations into the ATerm format used by C++ Nix.
StructsΒ§
- Derivation
- Output
- References the derivation output.
EnumsΒ§
- Derivation
Error - Errors that can occur during the validation of Derivation structs.
- Output
Error - Errors that can occur during the validation of a specific
- Parser
Error
TraitsΒ§
- Derivation
Async πExt
FunctionsΒ§
- ca_
kind_ πprefix - For a CAHash, return the βprefixβ used for NAR purposes. For CAHash::Flat, this is an empty string, for CAHash::Nar, itβs βr:β. Panics for other CAHash kinds, as theyβre not valid in a derivation context.
- output_
path_ πname - Calculate the name part of the store path of a derivation Output.