GNU bug report logs - #52716
[PATCH] channels: Add 'branch' to 'channel->code' output.

Previous Next

Package: guix-patches;

Reported by: Brice Waegeneire <brice <at> waegenei.re>

Date: Tue, 21 Dec 2021 20:57:02 UTC

Severity: normal

Tags: patch

Done: Brice Waegeneire <brice <at> waegenei.re>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Brice Waegeneire <brice <at> waegenei.re>
To: 52716 <at> debbugs.gnu.org
Subject: [bug#52716] [PATCH] channels: Add 'branch' to 'channel->code' output.
Date: Tue, 21 Dec 2021 21:56:01 +0100
* guix/channels.scm (channel->code): Add 'branch' to output.
---
 guix/channels.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/guix/channels.scm b/guix/channels.scm
index e4e0428eb5..5f47834c10 100644
--- a/guix/channels.scm
+++ b/guix/channels.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2018, 2019, 2020, 2021 Ludovic Courtès <ludo <at> gnu.org>
 ;;; Copyright © 2018 Ricardo Wurmus <rekado <at> elephly.net>
 ;;; Copyright © 2019 Jan (janneke) Nieuwenhuizen <janneke <at> gnu.org>
+;;; Copyright © 2021 Brice Waegeneire <brice <at> waegenei.re>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1009,7 +1010,8 @@ (define* (channel->code channel #:key (include-introduction? #t))
     `(channel
       (name ',(channel-name channel))
       (url ,(channel-url channel))
+      (branch ,(channel-branch channel))
       (commit ,(channel-commit channel))
       ,@(if intro
             `((introduction (make-channel-introduction

-- 
2.34.0





This bug report was last modified 3 years and 144 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.