diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-12-17 17:26:19 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-12-18 16:13:39 +0100 |
commit | d613c1771a1986d3c0f1e034155fde41f32f9b8e (patch) | |
tree | b49c070901ed97377088bc2eaebb50a94fc104ad /nix/.gitignore | |
parent | e5bbb4662fd3198c036d2b7732694159d4c79346 (diff) | |
download | guix-d613c1771a1986d3c0f1e034155fde41f32f9b8e.tar guix-d613c1771a1986d3c0f1e034155fde41f32f9b8e.tar.gz |
status: Do not emit ANSI escapes when stderr is not a tty.
Fixes <https://bugs.gnu.org/44985>.
Reported by Simon Josefsson <simon@josefsson.org>.
* guix/progress.scm (display-download-progress): Add #:tty? and honor it.
* guix/status.scm (print-build-event): Pass #:tty? to
'display-download-progress'.
Diffstat (limited to 'nix/.gitignore')
0 files changed, 0 insertions, 0 deletions