diff options
author | John Kehayias <john.kehayias@protonmail.com> | 2023-11-11 17:21:39 -0500 |
---|---|---|
committer | John Kehayias <john.kehayias@protonmail.com> | 2023-11-11 17:21:39 -0500 |
commit | 8d0a3bfcdae4bc9dd15e7fb0488dce8f16e8f867 (patch) | |
tree | 77f19aa2370df0e0d9bfc7effd5fd5f982642cef /guix/git.scm | |
parent | aee3c5a894fddf88810f18fa8880b423b078b3fa (diff) | |
parent | af6105afc67a15a491a0a4fd18a28c9f801a0b94 (diff) |
Merge branch 'master' into mesa-updates
Change-Id: I6848392e8c1ffca1473bd25511d8d90ae0f98ce7
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 |