Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Metadata a = Metadata {
- metadataDeriverPath :: !(Maybe a)
- metadataNarHash :: !(DSum HashAlgo Digest)
- metadataReferences :: !(HashSet a)
- metadataRegistrationTime :: !UTCTime
- metadataNarBytes :: !(Maybe Word64)
- metadataTrust :: !StorePathTrust
- metadataSigs :: !(Set NarSignature)
- metadataContentAddress :: !(Maybe ContentAddress)
- data StorePathTrust
Documentation
Metadata (typically about a StorePath
)
This type corresponds to Nix-es ValidPathInfo
Metadata | |
|
Instances
data StorePathTrust Source #
How much do we trust the path, based on its provenance?
This is called Ultimate
in Nix, where Ultimate = True
means that the path is ultimately trusted, which
corresponds to our BuiltLocally
BuiltLocally | It was built locally and thus ultimately trusted |
BuiltElsewhere | It was built elsewhere (and substituted or similar) and so is less trusted |