| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
System.Nix.StorePath.Metadata
Description
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
Constructors
| Metadata | |
Fields
| |
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
Constructors
| BuiltLocally | It was built locally and thus ultimately trusted |
| BuiltElsewhere | It was built elsewhere (and substituted or similar) and so is less trusted |