![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <masked.hh>
Classes | |
| struct | Drvs |
Public Types | |
| using | DrvMap = std::map<Hash, std::set<OutputName, std::less<>>> |
Public Member Functions | |
| bool | operator== (const HashInputs &) const =default |
Public Attributes | |
| StorePathSet | srcs |
| struct nix::derivation::masked::HashInputs::Drvs | drvs |
Inputs in the intermediate form used to compute the masked hash: input derivations are identified by their masked hash rather than by store path.
Hash::operator<=> compares bytes left-to-right, which matches base16-lexicographic order (hex encoding is monotonic per byte), so std::map<Hash, ...> gives the correct ATerm key ordering directly.
| using nix::derivation::masked::HashInputs::DrvMap = std::map<Hash, std::set<OutputName, std::less<>>> |
No DerivedPathMap involved: the masked hash is only ever computed after dynamic inputs are resolved away, so each input derivation maps to a plain set of output names.