Re-exportsΒ§
ModulesΒ§
- errors π
- Contains DerivationError, exported as crate::derivation::DerivationError
- output π
- output_
name π - outputs
- Outputs for a derivation.
- 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.
- Output
Hash - Represents the information about the hash of a single-output FOD.
We store it in a OutputHashMode and NixHash.
The serde model uses a different format, as we want to emit the same JSON:
There we use
hashAlgoandhash: - Output
Name - A derivation output name.
- Outputs
- Derivation outputs.
EnumsΒ§
- Derivation
Error - Errors that can occur during the validation of Derivation structs.
- Output
Hash Mode - Whether the FOD describes the hash of the raw contents (only possible if itβs a single file), or a digest over the NAR representation of the contents.
- Parse
Output Name Error - Parser
Error
TraitsΒ§
- Derivation
Async πExt async