Nix  2.93.0-dev
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::Realisation Struct Reference
Collaboration diagram for nix::Realisation:
[legend]

Public Member Functions

JSON toJSON () const
 
std::string fingerprint () const
 
void sign (const SecretKey &)
 
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 JSON &json, const std::string &whence)
 
static kj::Promise< Result< std::set< Realisation > > > closure (Store &, const std::set< Realisation > &)
 
static kj::Promise< Result< 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: