summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrice Waegeneire <brice@waegenei.re>2021-06-17 07:20:40 +0200
committerBrice Waegeneire <brice@waegenei.re>2021-12-25 19:12:37 +0100
commitb891f8519dbea5457d9ad154974b1ab1459b4b8b (patch)
tree58a6024b85e87f9bb175f411ad290548f7ec45d8
parent1dfe8c372163d481ebebb97dd3b4cafa49906b28 (diff)
channels: Add 'branch' to 'channel->code' output.
* guix/channels.scm (channel->code): Add 'branch' to output.
-rw-r--r--guix/channels.scm2
1 files changed, 2 insertions, 0 deletions
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@gnu.org>
;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2019 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1009,6 +1010,7 @@ true, include its introduction, if any."
`(channel
(name ',(channel-name channel))
(url ,(channel-url channel))
+ (branch ,(channel-branch channel))
(commit ,(channel-commit channel))
,@(if intro
`((introduction (make-channel-introduction