From 95b16cd886e0ba74feaf560199c69f2a6aec04de Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 3 Oct 2020 00:03:08 +0200 Subject: gnu: nyacc: Use versioned Guile site directory. This is a follow-up to commit 4e896da45d7be42ff1ad0b2be741b168573e6f0e. * gnu/packages/mes.scm (nyacc)[source]: Add snippet. --- gnu/packages/mes.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/mes.scm b/gnu/packages/mes.scm index d574071cc4..5ceb1c6151 100644 --- a/gnu/packages/mes.scm +++ b/gnu/packages/mes.scm @@ -105,7 +105,15 @@ extensive examples, including parsers for the Javascript and C99 languages.") 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))))) -- cgit 1.4.1