aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/worker.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-10-12 20:47:22 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-10-12 20:47:22 +0000
commit1b8ebe92dc9c7d7db5d7001a84e85c5603056823 (patch)
tree0d252ad5a448982614c3bc2fbf9fd62c89ca3002 /src/libstore/build/worker.cc
parent5c74a6147b4b81dc5b173f190f02f6681ec4b0fe (diff)
parenta73959e6beef05e84c283a2117bbe7dc5801bade (diff)
Merge remote-tracking branch 'obsidian/split_build_cc' into typed-goal-maps
Diffstat (limited to 'src/libstore/build/worker.cc')
-rw-r--r--src/libstore/build/worker.cc11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/libstore/build/worker.cc b/src/libstore/build/worker.cc
index 47403580e..97ffb9a34 100644
--- a/src/libstore/build/worker.cc
+++ b/src/libstore/build/worker.cc
@@ -1,4 +1,8 @@
-#include "build.hh"
+#include "machines.hh"
+#include "worker.hh"
+#include "substitution-goal.hh"
+#include "derivation-goal.hh"
+#include "hook-instance.hh"
#include <poll.h>
@@ -449,4 +453,9 @@ void Worker::markContentsGood(const StorePath & path)
pathContentsGoodCache.insert_or_assign(path, true);
}
+
+GoalPtr upcast_goal(std::shared_ptr<SubstitutionGoal> subGoal) {
+ return subGoal;
+}
+
}