aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guix/self.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/self.scm b/guix/self.scm
index dd61322a54..0730cd850d 100644
--- a/guix/self.scm
+++ b/guix/self.scm
@@ -69,7 +69,7 @@ GUILE-VERSION (\"2.0\" or \"2.2\"), or #f if none of the packages matches."
(#f
(loop rest))
((? package? package)
- (or (false-if-wrong-guile package)
+ (or (false-if-wrong-guile package guile-version)
(loop rest))))))))
(define specification->package