guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#68669] [PATCH 1/1] scripts: describe: Support 'channels-sans-intro'


From: Sergey Trofimov
Subject: [bug#68669] [PATCH 1/1] scripts: describe: Support 'channels-sans-intro' format for local checkouts.
Date: Tue, 23 Jan 2024 08:25:44 +0100

* guix/scripts/describe.scm (%display-checkout-info):
Support 'channels-sans-intro' format.
---
 guix/scripts/describe.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/guix/scripts/describe.scm b/guix/scripts/describe.scm
index 6d451dc902..449ab4b252 100644
--- a/guix/scripts/describe.scm
+++ b/guix/scripts/describe.scm
@@ -168,6 +168,8 @@ (define (display-checkout-info fmt)
        (format #t (G_ "  commit: ~a~%") (channel-commit channel)))
       ('channels
        (pretty-print `(list ,(channel->code channel))))
+      ('channels-sans-intro
+       (pretty-print `(list ,(channel->code channel #:include-introduction? 
#f))))
       ('json
        (display (channel->json channel))
        (newline))
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]