diff options
author | regnat <rg@regnat.ovh> | 2021-05-26 16:09:02 +0200 |
---|---|---|
committer | regnat <rg@regnat.ovh> | 2021-05-26 17:09:21 +0200 |
commit | 1f3ff0d193c270f7b97af4aa3e463be01dbe5f2d (patch) | |
tree | 61332b661ea6a2ceecb654c313d01ced22a0286d /src/libstore/realisation.hh | |
parent | cb46d70794b8677b7927e6ae3d492e6db886c7aa (diff) |
Aso track the output path of the realisation dependencies
Diffstat (limited to 'src/libstore/realisation.hh')
-rw-r--r-- | src/libstore/realisation.hh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/libstore/realisation.hh b/src/libstore/realisation.hh index 776ab606c..8cda5a752 100644 --- a/src/libstore/realisation.hh +++ b/src/libstore/realisation.hh @@ -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); |