Browse Source

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.
gn-latest-20200428
Ludovic Courtès 2 years ago
parent
commit
afb82831fa
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      build-aux/build-self.scm

+ 1
- 1
build-aux/build-self.scm View File

@ -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"


Loading…
Cancel
Save