Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
nix::Realisation Struct Reference

Public Member Functions

nlohmann::json toJSON () const
 
std::string fingerprint () const
 
void sign (const Signer &)
 
bool checkSignature (const PublicKeys &publicKeys, const std::string &sig) const
 
size_t checkSignatures (const PublicKeys &publicKeys) const
 
bool isCompatibleWith (const Realisation &other) const
 
StorePath getPath () const
 
 GENERATE_CMP (Realisation, me->id, me->outPath)
 

Static Public Member Functions

static Realisation fromJSON (const nlohmann::json &json, const std::string &whence)
 
static std::set< Realisationclosure (Store &, const std::set< Realisation > &)
 
static void closure (Store &, const std::set< Realisation > &, std::set< Realisation > &res)
 

Public Attributes

DrvOutput id
 
StorePath outPath
 
StringSet signatures
 
std::map< DrvOutput, StorePathdependentRealisations
 

Member Data Documentation

◆ dependentRealisations

std::map<DrvOutput, StorePath> nix::Realisation::dependentRealisations

The realisations that are required for the current one to be valid.

When importing this realisation, the store will first check that all its dependencies exist, and map to the correct output path


The documentation for this struct was generated from the following files: