gnu: nyacc: Use versioned Guile site directory.

This is a follow-up to commit 4e896da45d.

* gnu/packages/mes.scm (nyacc)[source]: Add snippet.
This commit is contained in:
Ricardo Wurmus 2020-10-03 00:03:08 +02:00
parent 4164ae7cd1
commit 95b16cd886
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -105,7 +105,15 @@ (define-public nyacc
version ".tar.gz"))
(sha256
(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
`(("guile" ,guile-3.0)))))