about summary refs log tree commit diff
path: root/third_party/nix/src/libexpr/primops.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/libexpr/primops.cc')
-rw-r--r--third_party/nix/src/libexpr/primops.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/third_party/nix/src/libexpr/primops.cc b/third_party/nix/src/libexpr/primops.cc
index 1684c20413c5..04a44311a259 100644
--- a/third_party/nix/src/libexpr/primops.cc
+++ b/third_party/nix/src/libexpr/primops.cc
@@ -2,6 +2,7 @@
 
 #include <algorithm>
 #include <cstring>
+#include <iostream>
 #include <regex>
 
 #include <absl/strings/str_split.h>
@@ -92,11 +93,7 @@ void EvalState::realiseContext(const PathSet& context) {
   store->queryMissing(drvs, willBuild, willSubstitute, unknown, downloadSize,
                       narSize);
 
-  // TODO(tazjin): Figure out where these logs are supposed to go ...
-  // unless we keep a per-store stream open persistently there's no
-  // "generic" way to send logs anywhere for cases like this (IFD).
-  auto discard_logs = DiscardLogsSink();
-  nix::util::OkOrThrow(store->buildPaths(discard_logs, drvs));
+  nix::util::OkOrThrow(store->buildPaths(std::cerr, drvs));
 }
 
 /* Load and evaluate an expression from path specified by the