summary refs log tree commit diff
path: root/gnu/packages/guile.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-06-27 16:57:01 +0200
committerLudovic Courtès <ludo@gnu.org>2018-06-27 16:58:59 +0200
commitbf5e9bfcf9f6b204139953e7d955545a524ca340 (patch)
treeb4990d7bec892cd6460000d7a7e9e5fff8e39093 /gnu/packages/guile.scm
parent26db747a863b08ebcfd630cce635be86c23d829d (diff)
downloadguix-bf5e9bfcf9f6b204139953e7d955545a524ca340.tar.gz
gnu: guile-lib: Update to 0.2.6.
* gnu/packages/guile.scm (guile-lib): Update to 0.2.6.  Add 'modules'
and 'snippet'.
Diffstat (limited to 'gnu/packages/guile.scm')
-rw-r--r--gnu/packages/guile.scm13
1 files changed, 11 insertions, 2 deletions
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index e7914064dc..81b673c7e2 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -767,14 +767,23 @@ The library is shipped with documentation in Info format and usage examples.")
 (define-public guile-lib
   (package
     (name "guile-lib")
-    (version "0.2.5.1")
+    (version "0.2.6")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://savannah/guile-lib/guile-lib-"
                                   version ".tar.gz"))
               (sha256
                (base32
-                "19q420i3is3d4jmkdqs5y7ir7ipp4s795saflqgwf6617cx2zpj4"))))
+                "0n1lf5bsr5s9gqi07sdfkl1hpin6dzvkcj1xa63jd1w8aglwv8r1"))
+              (modules '((guix build utils)))
+              (snippet
+               '(begin
+                  ;; 'pre-inst-env' sets an incorrect load path, missing the
+                  ;; "/src" bit.  Add it.
+                  (substitute* "pre-inst-env.in"
+                    (("abs_top_(builddir|srcdir)=([[:graph:]]+)" _ dir value)
+                     (string-append "abs_top_" dir "=" value "/src")))
+                  #t))))
     (build-system gnu-build-system)
     (arguments
      '(#:make-flags