gnu: nyacc: Use versioned Guile site directory.
This is a follow-up to commit 4e896da45d
.
* gnu/packages/mes.scm (nyacc)[source]: Add snippet.
master
parent
4164ae7cd1
commit
95b16cd886
|
@ -105,7 +105,15 @@ extensive examples, including parsers for the Javascript and C99 languages.")
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1vdiqpm3p0ndmpmkzcpkpjvgklfsk4wxrhkixdxbczpafdfl635p"))))
|
"1vdiqpm3p0ndmpmkzcpkpjvgklfsk4wxrhkixdxbczpafdfl635p"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
'(begin
|
||||||
|
(substitute* "configure"
|
||||||
|
(("GUILE_GLOBAL_SITE=\\$prefix.*")
|
||||||
|
"GUILE_GLOBAL_SITE=\
|
||||||
|
$prefix/share/guile/site/$GUILE_EFFECTIVE_VERSION\n"))
|
||||||
|
#t))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("guile" ,guile-3.0)))))
|
`(("guile" ,guile-3.0)))))
|
||||||
|
|
||||||
|
|
Reference in New Issue