diff options
Diffstat (limited to 'third_party/nix/src/libstore/rpc-store.cc')
-rw-r--r-- | third_party/nix/src/libstore/rpc-store.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/third_party/nix/src/libstore/rpc-store.cc b/third_party/nix/src/libstore/rpc-store.cc index afaeca4a660e..c29bd059de9b 100644 --- a/third_party/nix/src/libstore/rpc-store.cc +++ b/third_party/nix/src/libstore/rpc-store.cc @@ -374,7 +374,8 @@ absl::Status RpcStore::buildPaths(std::ostream& log_sink, const PathSet& paths, return nix::util::proto::GRPCStatusToAbsl(reader->Finish()); } -BuildResult RpcStore::buildDerivation(const Path& drvPath, +BuildResult RpcStore::buildDerivation(std::ostream& log_sink, + const Path& drvPath, const BasicDerivation& drv, BuildMode buildMode) { ClientContext ctx; @@ -392,7 +393,7 @@ BuildResult RpcStore::buildDerivation(const Path& drvPath, proto::BuildEvent event; while (reader->Read(&event)) { if (event.has_build_log()) { - LOG(INFO) << event.build_log().line(); + log_sink << event.build_log().line(); } else if (event.has_result()) { result = BuildResult::FromProto(event.result()); } |