gnu: flex: Update bison-for-tests to 3.0.5.
* gnu/packages/flex.scm (flex)[inputs]: Make BISON-FOR-TESTS inherit source from BISON, and disable tests on it since they require flex.
This commit is contained in:
parent
2fa4066c0a
commit
34f4c214b6
|
@ -45,22 +45,10 @@
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
(let ((bison-for-tests
|
(let ((bison-for-tests
|
||||||
;; Work around an incompatibility with Bison 3.0:
|
|
||||||
;; <http://lists.gnu.org/archive/html/bug-bison/2013-09/msg00014.html>.
|
|
||||||
(package
|
(package
|
||||||
(inherit bison)
|
(inherit bison)
|
||||||
(version "2.7.1")
|
;; Disable tests, since they require flex.
|
||||||
(source (origin
|
(arguments '(#:tests? #f))
|
||||||
(method url-fetch)
|
|
||||||
(uri (string-append
|
|
||||||
"mirror://gnu/bison/"
|
|
||||||
"bison-" version ".tar.xz"))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"1yx7isx67sdmyijvihgyra1f59fwdz7sqriginvavfj5yb5ss2dl"))))
|
|
||||||
|
|
||||||
;; Unlike Bison 3.0, this version did not need Flex for its
|
|
||||||
;; tests, so it allows us to break the cycle.
|
|
||||||
(inputs (alist-delete "flex" (package-inputs bison))))))
|
(inputs (alist-delete "flex" (package-inputs bison))))))
|
||||||
`(("bison" ,bison-for-tests)
|
`(("bison" ,bison-for-tests)
|
||||||
("indent" ,indent))))
|
("indent" ,indent))))
|
||||||
|
|
Loading…
Reference in New Issue