bison: Don't run the tests
All this accomplishes is to make bison depend on flex, which in turn depends on bison. (So as a result, during the stdenv bootstrap, bison gets built 6 (!) times.)
This commit is contained in:
parent
320498d529
commit
dfc62c9084
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, m4, perl, flex }:
|
||||
{ stdenv, fetchurl, m4, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "bison-3.0.2";
|
||||
@ -8,11 +8,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1vc17y6242jlwp0gdj7wsim3nvc1ws7q3j0v3065nz8g9hd9vwnd";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ m4 perl ] ++ stdenv.lib.optionals doCheck [ flex ];
|
||||
nativeBuildInputs = [ m4 perl ];
|
||||
propagatedBuildInputs = [ m4 ];
|
||||
|
||||
doCheck = flex != null;
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.gnu.org/software/bison/";
|
||||
description = "GNU Bison, a Yacc-compatible parser generator";
|
||||
|
@ -3500,11 +3500,7 @@ let
|
||||
|
||||
checkstyle = callPackage ../development/tools/analysis/checkstyle { };
|
||||
|
||||
flex = callPackage ../development/tools/parsing/flex {
|
||||
# Break infinite recursion: bison's test suite needs flex, so we
|
||||
# use an untested bison build to build flex first.
|
||||
yacc = bison.override { flex = null; };
|
||||
};
|
||||
flex = callPackage ../development/tools/parsing/flex { };
|
||||
|
||||
m4 = gnum4;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user