mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: guile-json: Install under .../site/2.0.
* gnu/packages/guile.scm (guile-json)[source]: Add 'snippet'.
This commit is contained in:
parent
39831f1663
commit
bf6fcf5477
1 changed files with 8 additions and 1 deletions
|
@ -336,7 +336,14 @@ (define-public guile-json
|
|||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0nz2sx61kd6cfflwzxxq0cb9dz0asb81abbhfawv4p9ghciqdr3g"))))
|
||||
"0nz2sx61kd6cfflwzxxq0cb9dz0asb81abbhfawv4p9ghciqdr3g"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
;; Make sure everything goes under .../site/2.0, like Guile's
|
||||
;; search paths expects.
|
||||
'(substitute* '("Makefile.in" "json/Makefile.in")
|
||||
(("moddir =.*/share/guile/site" all)
|
||||
(string-append all "/2.0"))))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs `(("guile" ,guile-2.0)))
|
||||
(home-page "http://savannah.nongnu.org/projects/guile-json/")
|
||||
|
|
Loading…
Reference in a new issue