aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/bison.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-09-29 12:44:25 +0200
committerLudovic Courtès <ludo@gnu.org>2013-09-29 12:44:25 +0200
commit2aa76ee14a1adecf2ff51ac45ed3df73055388e5 (patch)
treeb752fd2a3a2f742af23d01dcf230c1de53e751a3 /gnu/packages/bison.scm
parent9546640ecc17f7eec27ebd4016da6b006cf83eb0 (diff)
downloadguix-2aa76ee14a1adecf2ff51ac45ed3df73055388e5.tar
guix-2aa76ee14a1adecf2ff51ac45ed3df73055388e5.tar.gz
gnu: flex: Use Bison 2.7 for tests.
* gnu/packages/bison.scm (bison): Move FLEX to 'inputs', and remove the hack that turned off its test suite. * gnu/packages/flex.scm (flex): Add 'bison-for-tests' in 'inputs', and use that to run the tests.
Diffstat (limited to 'gnu/packages/bison.scm')
-rw-r--r--gnu/packages/bison.scm13
1 files changed, 2 insertions, 11 deletions
diff --git a/gnu/packages/bison.scm b/gnu/packages/bison.scm
index eafce34b52..2d2209c4ff 100644
--- a/gnu/packages/bison.scm
+++ b/gnu/packages/bison.scm
@@ -40,17 +40,8 @@
(base32
"1j14fqgi9wzqgsy4fhkcdrv4hv6rrvhvn84axs520w9b022mbb79"))))
(build-system gnu-build-system)
- (native-inputs `(("perl" ,perl)
-
- ;; We need Flex for the test suite, and Flex needs Bison.
- ;; To break the cycle, we remove Bison from the inputs of
- ;; Flex, and disable Flex's test suite, since it requires
- ;; Bison.
- ("flex" ,(package (inherit flex)
- (arguments '(#:tests? #f))
- (inputs
- (alist-delete "bison"
- (package-inputs flex)))))))
+ (native-inputs `(("perl" ,perl)))
+ (inputs `(("flex" ,flex)))
(propagated-inputs `(("m4" ,m4)))
(home-page "http://www.gnu.org/software/bison/")
(synopsis "Parser generator")