all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: 53933@debbugs.gnu.org
Cc: "Ludovic Courtès" <ludo@gnu.org>
Subject: [bug#53933] [PATCH 3/3] status: Do not pass a non-literal format string to 'format'.
Date: Thu, 10 Feb 2022 23:16:53 +0100	[thread overview]
Message-ID: <20220210221653.22208-3-ludo@gnu.org> (raw)
In-Reply-To: <20220210221653.22208-1-ludo@gnu.org>

* guix/status.scm (print-build-event): Use 'display' instead of 'format'
for hooks.
---
 guix/status.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/status.scm b/guix/status.scm
index 5b903372f1..b8905c9542 100644
--- a/guix/status.scm
+++ b/guix/status.scm
@@ -503,7 +503,7 @@ (define erase-current-line*
           (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))))
          (_
-- 
2.34.0





  parent reply	other threads:[~2022-02-10 22:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-10 22:08 [bug#53933] [PATCH 0/3] Tweak build output coming from (guix status) Ludovic Courtès
2022-02-10 22:16 ` [bug#53933] [PATCH 1/3] status: Do not print .drv file names for grafts Ludovic Courtès
2022-02-10 22:16   ` [bug#53933] [PATCH 2/3] status: Use bold more sparsely at -v1 Ludovic Courtès
2022-02-10 22:16   ` Ludovic Courtès [this message]
2022-02-16 16:02 ` bug#53933: [PATCH 0/3] Tweak build output coming from (guix status) Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220210221653.22208-3-ludo@gnu.org \
    --to=ludo@gnu.org \
    --cc=53933@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.