summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-10-30 15:46:36 +0100
committerLudovic Courtès <ludo@gnu.org>2014-10-30 15:46:36 +0100
commite0ea3f8a0d63004f0be41c4643aabcefc67a2139 (patch)
tree04d8e3241748bd9964c8fe24990edd43af1d6e97
parentb9113adf4539ddb38794ab53f4abe3e534f155d8 (diff)
downloadguix-e0ea3f8a0d63004f0be41c4643aabcefc67a2139.tar.gz
download: Append (effective-version) to '%load-path' for GnuTLS.
* 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.
-rw-r--r--guix/download.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/download.scm b/guix/download.scm
index 4f16c3a900..947da004ae 100644
--- a/guix/download.scm
+++ b/guix/download.scm
@@ -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)