bison-3.x: fix test suite by adding flex as a build input

This commit is contained in:
Peter Simons 2013-09-08 21:08:13 +02:00
parent c4115d45a0
commit aa0df547a8

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, m4, perl }:
{ stdenv, fetchurl, m4, perl, flex }:
stdenv.mkDerivation rec {
name = "bison-3.0";
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "1j14fqgi9wzqgsy4fhkcdrv4hv6rrvhvn84axs520w9b022mbb79";
};
nativeBuildInputs = [ m4 ] ++ stdenv.lib.optional doCheck perl;
nativeBuildInputs = [ m4 ] ++ stdenv.lib.optionals doCheck [perl flex];
propagatedBuildInputs = [ m4 ];
doCheck = true;