guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/10: gnu: flex: Update bison-for-tests to 3.0.5.


From: Marius Bakke
Subject: 08/10: gnu: flex: Update bison-for-tests to 3.0.5.
Date: Sat, 25 Aug 2018 10:30:54 -0400 (EDT)

mbakke pushed a commit to branch core-updates
in repository guix.

commit 34f4c214b63c46ee609bbaa15b063e20bc739ce3
Author: Marius Bakke <address@hidden>
Date:   Sat Aug 25 15:34:59 2018 +0200

    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.
---
 gnu/packages/flex.scm | 16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/flex.scm b/gnu/packages/flex.scm
index 29c5c92..e08b0c1 100644
--- a/gnu/packages/flex.scm
+++ b/gnu/packages/flex.scm
@@ -45,22 +45,10 @@
     (build-system gnu-build-system)
     (inputs
      (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
               (inherit bison)
-              (version "2.7.1")
-              (source (origin
-                        (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.
+              ;; Disable tests, since they require flex.
+              (arguments '(#:tests? #f))
               (inputs (alist-delete "flex" (package-inputs bison))))))
        `(("bison" ,bison-for-tests)
          ("indent" ,indent))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]