mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: guile-reader: Install modules in the right place.
* gnu/packages/guile.scm (guile-reader): Add `arguments' field.
This commit is contained in:
parent
47d188109e
commit
46614bba7c
1 changed files with 8 additions and 2 deletions
|
@ -189,8 +189,14 @@ (define (guile-reader guile)
|
|||
(native-inputs `(("pkgconfig" ,pkg-config)
|
||||
("gperf" ,gperf)))
|
||||
(inputs `(("guile" ,guile)))
|
||||
(synopsis "Guile-Reader, a simple framework for building readers for
|
||||
GNU Guile")
|
||||
(arguments `(#:configure-flags
|
||||
(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
|
||||
"Guile-Reader is a simple framework for building readers for GNU Guile.
|
||||
|
||||
|
|
Loading…
Reference in a new issue