download: Append (effective-version) to '%load-path' for GnuTLS.
authorLudovic Courtès <ludo@gnu.org>
Thu, 30 Oct 2014 14:46:36 +0000 (15:46 +0100)
committerLudovic Courtès <ludo@gnu.org>
Thu, 30 Oct 2014 14:46:36 +0000 (15:46 +0100)
* guix/download.scm (url-fetch)[builder]: Append (effective-version) to
  %load-path, as discussed at
  <http://lists.gnu.org/archive/html/guix-devel/2014-10/msg00398.html>.
  This fixes a regression introduced in b94ae0b.

guix/download.scm

index 4f16c3a..947da00 100644 (file)
@@ -234,7 +234,8 @@ must be a list of symbol/URL-list pairs."
               #~(eval-when (load expand eval)
                   (set! %load-path
                         (cons (string-append #$(gnutls-package)
-                                             "/share/guile/site")
+                                             "/share/guile/site/"
+                                             (effective-version))
                               %load-path)))
               #~#t)