![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <masked.hh>
Public Types | |
| using | DrvHash = Hash |
| using | CaOutputHashes = std::map<std::string, Hash> |
| using | DeferredDrv = std::monostate |
| using | Raw = std::variant<DrvHash, CaOutputHashes, DeferredDrv> |
Public Member Functions | |
| bool | operator== (const MaskedHash &) const =default |
| MAKE_WRAPPER_CONSTRUCTOR (MaskedHash) | |
Public Attributes | |
| Raw | raw |
The masked hashes of a derivation.
Each output is given a hash, although in practice only the content-addressed derivations (fixed-output or not) will have a different hash for each output.
| using nix::derivation::masked::MaskedHash::CaOutputHashes = std::map<std::string, Hash> |
Known CA drv's output hashes, for fixed-output derivations whose output hashes are always known since they are fixed up-front.
| using nix::derivation::masked::MaskedHash::DeferredDrv = std::monostate |
This derivation doesn't yet have known output hashes.
Either because itself is floating CA, or it (transtively) depends on a floating CA derivation.
Single hash for the derivation
This is for an input-addressed derivation that doesn't transitively depend on any floating-CA derivations.