aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/substitution-goal.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-03-09 12:25:35 +0100
committerEelco Dolstra <edolstra@gmail.com>2022-03-09 12:25:35 +0100
commit761242afa08d5c9280ba6bd63a310b4334b83bb2 (patch)
tree7509dfda4c52ecab6e972e3f1ed9d3b1d0360b5b /src/libstore/build/substitution-goal.cc
parenta4604f19284254ac98f19a13ff7c2216de7fe176 (diff)
BuildResult: Use DerivedPath
Diffstat (limited to 'src/libstore/build/substitution-goal.cc')
-rw-r--r--src/libstore/build/substitution-goal.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstore/build/substitution-goal.cc b/src/libstore/build/substitution-goal.cc
index ec500baf8..31e6dbc9f 100644
--- a/src/libstore/build/substitution-goal.cc
+++ b/src/libstore/build/substitution-goal.cc
@@ -6,7 +6,7 @@
namespace nix {
PathSubstitutionGoal::PathSubstitutionGoal(const StorePath & storePath, Worker & worker, RepairFlag repair, std::optional<ContentAddress> ca)
- : Goal(worker)
+ : Goal(worker, DerivedPath::Opaque { storePath })
, storePath(storePath)
, repair(repair)
, ca(ca)
@@ -26,7 +26,6 @@ PathSubstitutionGoal::~PathSubstitutionGoal()
void PathSubstitutionGoal::done(ExitCode result, BuildResult::Status status)
{
- buildResult.outPath = storePath;
buildResult.status = status;
amDone(result);
}