about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-05-01T13·59+0200
committerEelco Dolstra <edolstra@gmail.com>2017-05-01T15·30+0200
commit3f5b98e65a86abd31f97bd763ae5cb41ff4aeda8 (patch)
tree528008897b892070425836d1ebf67c8afdeaee71
parentd7653dfc6dea076ecbe00520c6137977e0fced35 (diff)
Chomp log output from the build hook
-rw-r--r--src/libstore/build.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 9b3f799b9f2f..ec3684632528 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -3091,7 +3091,7 @@ void DerivationGoal::handleChildOutput(int fd, const string & data)
     }
 
     if (hook && fd == hook->fromHook.readSide.get())
-        printError(data); // FIXME?
+        printError(chomp(data));
 }