summaryrefslogtreecommitdiff
path: root/guix/scripts/pull.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix/scripts/pull.scm')
-rw-r--r--guix/scripts/pull.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/scripts/pull.scm b/guix/scripts/pull.scm
index 759c3a94a3..1904a6913a 100644
--- a/guix/scripts/pull.scm
+++ b/guix/scripts/pull.scm
@@ -786,6 +786,7 @@ Use '~/.config/guix/channels.scm' instead."))
(let ((url (or url (channel-url c))))
(match ref
((or ('commit . commit)
+ ('tag . commit)
('tag-or-commit . commit))
(channel (inherit c)
(url url) (commit commit) (branch #f)))