Skip to content
Snippets Groups Projects
Commit 46614bba authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

gnu: guile-reader: Install modules in the right place.

* gnu/packages/guile.scm (guile-reader): Add `arguments' field.
parent 47d18810
No related branches found
No related tags found
No related merge requests found
...@@ -189,8 +189,14 @@ (define (guile-reader guile) ...@@ -189,8 +189,14 @@ (define (guile-reader guile)
(native-inputs `(("pkgconfig" ,pkg-config) (native-inputs `(("pkgconfig" ,pkg-config)
("gperf" ,gperf))) ("gperf" ,gperf)))
(inputs `(("guile" ,guile))) (inputs `(("guile" ,guile)))
(synopsis "Guile-Reader, a simple framework for building readers for (arguments `(#:configure-flags
GNU Guile") (let ((out (assoc-ref %outputs "out")))
,(if (string-prefix? "2." (package-version guile))
'(list (string-append "--with-guilemoduledir="
out "/share/guile/site/2.0"))
'(list (string-append "--with-guilemoduledir="
out "/share/guile/site"))))))
(synopsis "Framework for building readers for GNU Guile")
(description (description
"Guile-Reader is a simple framework for building readers for GNU Guile. "Guile-Reader is a simple framework for building readers for GNU Guile.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment