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
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ GUILE-VERSION (\"2.0\" or \"2.2\"), or #f if none of the packages matches."
(#f (#f
(loop rest)) (loop rest))
((? package? package) ((? package? package)
(or (false-if-wrong-guile package) (or (false-if-wrong-guile package guile-version)
(loop rest)))))))) (loop rest))))))))
(define specification->package (define specification->package