summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-04-11 00:29:47 +0200
committerLudovic Courtès <ludo@gnu.org>2018-04-11 01:03:47 +0200
commita1639ae9de39d5ce47e6ddfd87e792db52b44bd6 (patch)
treee0c0361f79192734ad5b6e46e32ca65822b99521
parent63cab4182d60dd228dccc03c149ac01bf100301a (diff)
downloadguix-a1639ae9de39d5ce47e6ddfd87e792db52b44bd6.tar.gz
self: 'package-for-guile' really honors GUILE-VERSION.
* guix/self.scm (package-for-guile): Pass GUILE-VERSION to
'false-if-wrong-guile'.
-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