summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-05-12 12:37:21 +0200
committerLudovic Courtès <ludo@gnu.org>2013-05-12 12:37:21 +0200
commit46614bba7c164745d63ec9542f7ea7cd5cff26eb (patch)
treec59b3c1819083790910fe53dcb76fc015166a3b5 /gnu
parent47d188109ebe95d862c3297657a990845c9a4545 (diff)
gnu: guile-reader: Install modules in the right place.
* gnu/packages/guile.scm (guile-reader): Add `arguments' field.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/guile.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 6622f3b1918..757fa997e0b 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -189,8 +189,14 @@ or 2.0."
189 (native-inputs `(("pkgconfig" ,pkg-config) 189 (native-inputs `(("pkgconfig" ,pkg-config)
190 ("gperf" ,gperf))) 190 ("gperf" ,gperf)))
191 (inputs `(("guile" ,guile))) 191 (inputs `(("guile" ,guile)))
192 (synopsis "Guile-Reader, a simple framework for building readers for 192 (arguments `(#:configure-flags
193GNU Guile") 193 (let ((out (assoc-ref %outputs "out")))
194 ,(if (string-prefix? "2." (package-version guile))
195 '(list (string-append "--with-guilemoduledir="
196 out "/share/guile/site/2.0"))
197 '(list (string-append "--with-guilemoduledir="
198 out "/share/guile/site"))))))
199 (synopsis "Framework for building readers for GNU Guile")
194 (description 200 (description
195"Guile-Reader is a simple framework for building readers for GNU Guile. 201"Guile-Reader is a simple framework for building readers for GNU Guile.
196 202