status: Do not pass a non-literal format string to 'format'.
authorLudovic Courtès <ludo@gnu.org>
Thu, 10 Feb 2022 22:02:43 +0000 (23:02 +0100)
committerLudovic Courtès <ludo@gnu.org>
Wed, 16 Feb 2022 15:49:27 +0000 (16:49 +0100)
* guix/status.scm (print-build-event): Use 'display' instead of 'format'
for hooks.

guix/status.scm

index 5b90337..b8905c9 100644 (file)
@@ -503,7 +503,7 @@ substitutes being downloaded."
           (let ((hook-type (assq-ref properties 'hook)))
             (or (and=> (hook-message hook-type)
                        (lambda (msg)
-                         (format port (info msg))))
+                         (display (info msg) port)))
                 (format port (info (G_ "running profile hook of type '~a'..."))
                         hook-type))))
          (_