self: 'package-for-guile' really honors GUILE-VERSION.

* guix/self.scm (package-for-guile): Pass GUILE-VERSION to
'false-if-wrong-guile'.
This commit is contained in:
Ludovic Courtès 2018-04-11 00:29:47 +02:00
parent 63cab4182d
commit a1639ae9de
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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