[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: nyacc: Use versioned Guile site directory.
From: |
guix-commits |
Subject: |
02/02: gnu: nyacc: Use versioned Guile site directory. |
Date: |
Fri, 2 Oct 2020 18:03:50 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 95b16cd886e0ba74feaf560199c69f2a6aec04de
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sat Oct 3 00:03:08 2020 +0200
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(-)
diff --git a/gnu/packages/mes.scm b/gnu/packages/mes.scm
index d574071..5ceb1c6 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)))))