From aa0df547a8b544ca3a91bb3184c7c91f576641f4 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 8 Sep 2013 21:08:13 +0200 Subject: [PATCH] bison-3.x: fix test suite by adding flex as a build input --- pkgs/development/tools/parsing/bison/3.x.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/parsing/bison/3.x.nix b/pkgs/development/tools/parsing/bison/3.x.nix index d076d8ba4db0..9b1499c15375 100644 --- a/pkgs/development/tools/parsing/bison/3.x.nix +++ b/pkgs/development/tools/parsing/bison/3.x.nix @@ -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;