summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-04-26 00:18:41 +0200
committerRicardo Wurmus <rekado@elephly.net>2021-04-26 08:48:34 +0200
commite314d587b88e78f19465a489421224dad66c8925 (patch)
treea3419c901d6c20de8fa6a39a0f7187098483c6aa
parent9e9821715a753602454a2890494e99201a141b45 (diff)
guix: Use an older version of nyacc.
-rw-r--r--guix.scm26
1 files changed, 25 insertions, 1 deletions
diff --git a/guix.scm b/guix.scm
index c616028..9aafcfe 100644
--- a/guix.scm
+++ b/guix.scm
@@ -13,6 +13,30 @@
(gnu packages texinfo)
(gnu packages parallel))
+;; Later versions (such as 1.03.6) have a regression so that no
+;; #define'd symbols are recorded.
+(define-public nyacc-older
+ (package
+ (inherit nyacc-0.99)
+ (version "1.03.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://savannah/nyacc/nyacc-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "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)))))
+
(package
(name "guile-drmaa")
(version "0.1")
@@ -29,7 +53,7 @@
`(("guile" ,guile-3.0)))
(propagated-inputs
`(("guile-bytestructures" ,guile-bytestructures)
- ("nyacc" ,nyacc)))
+ ("nyacc" ,nyacc-older)))
(synopsis "")
(description "")
(home-page "")