aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/worker.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2021-04-05 19:06:43 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2021-04-05 19:06:43 -0400
commitd0ed11ca729344fd00251d0bc31f0c2f32d2c6a7 (patch)
tree4f1f16db781f31d4e705e87c70ed485dac3260bb /src/libstore/build/worker.cc
parent386765e3ffc3b3c5721f63696e41a1cf90c1e6ae (diff)
parent1b6cf0d5f56e166a1cbbf38142375b7a92fc88f2 (diff)
Merge commit '1b6cf0d5f56e166a1cbbf38142375b7a92fc88f2' into ca-drv-exotic
Diffstat (limited to 'src/libstore/build/worker.cc')
-rw-r--r--src/libstore/build/worker.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstore/build/worker.cc b/src/libstore/build/worker.cc
index fef4cb0cb..6c04d3ed3 100644
--- a/src/libstore/build/worker.cc
+++ b/src/libstore/build/worker.cc
@@ -226,14 +226,14 @@ void Worker::waitForAWhile(GoalPtr goal)
void Worker::run(const Goals & _topGoals)
{
- std::vector<nix::BuildableReq> topPaths;
+ std::vector<nix::DerivedPath> topPaths;
for (auto & i : _topGoals) {
topGoals.insert(i);
if (auto goal = dynamic_cast<DerivationGoal *>(i.get())) {
- topPaths.push_back(BuildableReqFromDrv{goal->drvPath, goal->wantedOutputs});
+ topPaths.push_back(DerivedPath::Built{goal->drvPath, goal->wantedOutputs});
} else if (auto goal = dynamic_cast<PathSubstitutionGoal *>(i.get())) {
- topPaths.push_back(BuildableOpaque{goal->storePath});
+ topPaths.push_back(DerivedPath::Opaque{goal->storePath});
}
}