mirror of
https://github.com/NixOS/nix.git
synced 2025-11-14 06:22:42 +01:00
Aso track the output path of the realisation dependencies
This commit is contained in:
parent
cb46d70794
commit
1f3ff0d193
7 changed files with 46 additions and 39 deletions
|
|
@ -28,7 +28,13 @@ struct Realisation {
|
|||
|
||||
StringSet signatures;
|
||||
|
||||
std::set<DrvOutput> drvOutputDeps;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
std::map<DrvOutput, StorePath> dependentRealisations;
|
||||
|
||||
nlohmann::json toJSON() const;
|
||||
static Realisation fromJSON(const nlohmann::json& json, const std::string& whence);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue