aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/drv-output-substitution-goal.hh
diff options
context:
space:
mode:
authorregnat <rg@regnat.ovh>2021-10-27 11:36:51 +0200
committerregnat <rg@regnat.ovh>2021-11-03 06:51:34 +0100
commit96670ed2163d3d1a296c9b053833362ec8c06985 (patch)
tree80aec4b3e054710b2ec97b8517543207e8b8e502 /src/libstore/build/drv-output-substitution-goal.hh
parent5b2aa61f1b8fe253c963874ccb4700f6ff99526e (diff)
Expose an async interface for `queryRealisation`
Doesn’t change much so far because everything is still using it synchronously, but should allow the binary cache to fetch stuff in parallel
Diffstat (limited to 'src/libstore/build/drv-output-substitution-goal.hh')
-rw-r--r--src/libstore/build/drv-output-substitution-goal.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build/drv-output-substitution-goal.hh b/src/libstore/build/drv-output-substitution-goal.hh
index 63ab53d89..1b11a298e 100644
--- a/src/libstore/build/drv-output-substitution-goal.hh
+++ b/src/libstore/build/drv-output-substitution-goal.hh
@@ -20,7 +20,7 @@ private:
// The realisation corresponding to the given output id.
// Will be filled once we can get it.
- std::optional<Realisation> outputInfo;
+ std::shared_ptr<const Realisation> outputInfo;
/* The remaining substituters. */
std::list<ref<Store>> subs;