diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2018-09-11 23:17:54 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2018-09-11 23:19:42 +0200 |
commit | 1afd1fbf3cf1d1283a009d5cbb8ad698bff4dd48 (patch) | |
tree | 2fc62a44d4532024f28424ab3e2874dead820c79 /guix/scripts/package.scm | |
parent | f72e5f93b7ba874ecc66ba419f71f384d1b7903d (diff) |
guix: Do not close current-error-port.
Reported-by: Ludovic Courtès <ludo@gnu.org>.
* guix/scripts/build.scm (guix-build),
guix/scripts/package.scm (guix-package): Duplicate port before handing it to
build-output-port.
Diffstat (limited to 'guix/scripts/package.scm')
-rw-r--r-- | guix/scripts/package.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm index 73cbccba3b..c3ed2ac935 100644 --- a/guix/scripts/package.scm +++ b/guix/scripts/package.scm @@ -950,5 +950,6 @@ processed, #f otherwise." %bootstrap-guile (canonical-package guile-2.2)))) (current-build-output-port - (build-output-port #:verbose? verbose?))) + (build-output-port #:verbose? verbose? + #:port (duplicate-port (current-error-port) "w")))) (process-actions (%store) opts)))))) |