bison-3.x: fix build for good this time

- Bison 3.x no longer compiles without Perl.

 - Don't try to run the test suite unless flex is available.
This commit is contained in:
Peter Simons 2013-09-15 22:05:16 +02:00
parent 24366adf19
commit b962caede7
1 changed files with 2 additions and 2 deletions

View File

@ -8,10 +8,10 @@ stdenv.mkDerivation rec {
sha256 = "1ll22hcfslyl9n3pgvvphzdp18w9cyic8m0qimfnb8mrs1syrdz5";
};
nativeBuildInputs = [ m4 ] ++ stdenv.lib.optionals doCheck [perl flex];
nativeBuildInputs = [ m4 perl ] ++ stdenv.lib.optionals doCheck [ flex ];
propagatedBuildInputs = [ m4 ];
doCheck = true;
doCheck = flex != null;
meta = {
homepage = "http://www.gnu.org/software/bison/";