Module nix_compat::derivation
source ยท 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ยง
- References the derivation output.
Enumsยง
- Errors that can occur during the validation of Derivation structs.
- Errors that can occur during the validation of a specific
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.