summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guix/build-system/channel.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/guix/build-system/channel.scm b/guix/build-system/channel.scm
index b6ef3bfacf..6ad377f930 100644
--- a/guix/build-system/channel.scm
+++ b/guix/build-system/channel.scm
@@ -46,6 +46,13 @@
(latest-channel-instances*
(list source)
#:authenticate? authenticate?))
+ ((string? source)
+ ;; If SOURCE is a store file name, as is the
+ ;; case when called from (gnu ci), return it as
+ ;; is.
+ (return
+ (list (checkout->channel-instance
+ source #:commit commit))))
(else
(mlet %store-monad ((source
(lower-object source)))