aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/worker.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/build/worker.hh')
-rw-r--r--src/libstore/build/worker.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstore/build/worker.hh b/src/libstore/build/worker.hh
index 9a6ed8449..6735ea0b9 100644
--- a/src/libstore/build/worker.hh
+++ b/src/libstore/build/worker.hh
@@ -9,6 +9,7 @@
#include "realisation.hh"
#include <future>
+#include <kj/async-io.h>
#include <thread>
namespace nix {
@@ -237,6 +238,7 @@ public:
Store & store;
Store & evalStore;
+ kj::AsyncIoContext & aio;
struct HookState {
std::unique_ptr<HookInstance> instance;
@@ -264,7 +266,7 @@ public:
NotifyingCounter<uint64_t> expectedNarSize{[this] { updateStatisticsLater(); }};
NotifyingCounter<uint64_t> doneNarSize{[this] { updateStatisticsLater(); }};
- Worker(Store & store, Store & evalStore);
+ Worker(Store & store, Store & evalStore, kj::AsyncIoContext & aio);
~Worker();
/**