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 @@ (define (package-for-guile guile-version . names) (#f (loop rest)) ((? package? package) - (or (false-if-wrong-guile package) + (or (false-if-wrong-guile package guile-version) (loop rest)))))))) (define specification->package