diff options
Diffstat (limited to 'third_party/nix/src/libstore/build.cc')
-rw-r--r-- | third_party/nix/src/libstore/build.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/nix/src/libstore/build.cc b/third_party/nix/src/libstore/build.cc index 15ed3b05146c..1f5752a168c8 100644 --- a/third_party/nix/src/libstore/build.cc +++ b/third_party/nix/src/libstore/build.cc @@ -4754,11 +4754,11 @@ absl::Status LocalStore::buildPaths(std::ostream& log_sink, return absl::OkStatus(); } -BuildResult LocalStore::buildDerivation(const Path& drvPath, +BuildResult LocalStore::buildDerivation(std::ostream& log_sink, + const Path& drvPath, const BasicDerivation& drv, BuildMode buildMode) { - auto discard_logs = DiscardLogsSink(); - Worker worker(*this, discard_logs); + Worker worker(*this, log_sink); auto goal = worker.makeBasicDerivationGoal(drvPath, drv, buildMode); BuildResult result; |