civodul pushed a commit to branch master
in repository guix.
commit afb82831fa4d8602859eb00056dd3f418ed363c9
Author: Ludovic Courtès <[email protected]>
Date: Sun Jan 6 18:16:19 2019 +0100
build-self: Don't clobber the output port.
The newline is meant to follow the spinner's traces so it must go to the
error port as well.
* build-aux/build-self.scm (build): Send newline to the error port.
---
build-aux/build-self.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build-aux/build-self.scm b/build-aux/build-self.scm
index 5b281c3..c1a253d 100644
--- a/build-aux/build-self.scm
+++ b/build-aux/build-self.scm
@@ -420,7 +420,7 @@ files."
(error "build program failed" (list build status)))
((? derivation-path? drv)
(mbegin %store-monad
- (return (newline (current-output-port)))
+ (return (newline (current-error-port)))
((store-lift add-temp-root) drv)
(return (read-derivation-from-file drv))))
("#f"