aboutsummaryrefslogtreecommitdiff
path: root/guix/hg-download.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-06-14 18:22:26 +0200
committerLudovic Courtès <ludo@gnu.org>2021-06-14 18:35:18 +0200
commit0b535f7b8b1656a2c52d88358f2a557fce0385eb (patch)
tree0446cfd31163ccb9e14983e3a233576911df9450 /guix/hg-download.scm
parent69d7333217ce85d9d1643a8349757b6b170d3b1f (diff)
downloadguix-0b535f7b8b1656a2c52d88358f2a557fce0385eb.tar
guix-0b535f7b8b1656a2c52d88358f2a557fce0385eb.tar.gz
hg-download: Make (guix swh) output visible.
* guix/hg-download.scm (hg-fetch)[build]: Add 'setvbuf' calls.
Diffstat (limited to 'guix/hg-download.scm')
-rw-r--r--guix/hg-download.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/guix/hg-download.scm b/guix/hg-download.scm
index 946da8756b..382c34922a 100644
--- a/guix/hg-download.scm
+++ b/guix/hg-download.scm
@@ -104,6 +104,9 @@ HASH-ALGO (a symbol). Use NAME as the file name, or a generic name if #f."
(((names dirs outputs ...) ...)
dirs)))
+ (setvbuf (current-output-port) 'line)
+ (setvbuf (current-error-port) 'line)
+
(or (hg-fetch '#$(hg-reference-url ref)
'#$(hg-reference-changeset ref)
#$output