diff options
author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2023-11-19 10:02:15 +0100 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2023-11-19 10:02:15 +0100 |
commit | 1cc3b7e80f60a2a5a6a1400ed0b025efeae7a523 (patch) | |
tree | 77cbf407563c8c4b1acc00fe0fdb8ac79b1fdd95 /guix/git.scm | |
parent | f64ec2b15132c46bcdf0546196646237890832f6 (diff) | |
parent | b7abea0fd6a146563830db1dc4ddd0cceb6fcf1c (diff) |
Merge branch 'master' into gnome-team
Change-Id: I62da840b7600f2d3d8541e666d09e2f2a1b7d8c4
Diffstat (limited to 'guix/git.scm')
-rw-r--r-- | guix/git.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/guix/git.scm b/guix/git.scm index b7182305cf..4377b27e00 100644 --- a/guix/git.scm +++ b/guix/git.scm @@ -33,6 +33,8 @@ #:use-module (guix store) #:use-module (guix utils) #:use-module (guix records) + #:use-module ((guix build syscalls) + #:select (terminal-string-width)) #:use-module (guix gexp) #:autoload (guix git-download) (git-reference-url git-reference-commit git-reference-recursive?) @@ -154,7 +156,7 @@ the 'SSL_CERT_FILE' and 'SSL_CERT_DIR' environment variables." ;; TODO: Both should be handled & exposed by the PROGRESS-BAR API instead. (define width (max (- (current-terminal-columns) - (string-length label) 7) + (terminal-string-width label) 7) 3)) (define grain |