aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/substitution-goal.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/build/substitution-goal.cc')
-rw-r--r--src/libstore/build/substitution-goal.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libstore/build/substitution-goal.cc b/src/libstore/build/substitution-goal.cc
index 74a63ca21..d9d8f1a7d 100644
--- a/src/libstore/build/substitution-goal.cc
+++ b/src/libstore/build/substitution-goal.cc
@@ -240,9 +240,7 @@ try {
});
state = &PathSubstitutionGoal::finished;
- return {WaitForWorld{
- pipe.promise.then([]() -> Outcome<void, Finished> { return result::success(); })
- }};
+ return pipe.promise.then([]() -> Result<WorkResult> { return ContinueImmediately{}; });
} catch (...) {
return {std::current_exception()};
}