about summary refs log tree commit diff
path: root/pkgs/development/tools/parsing/bison
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-01-07 14:25:42 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-01-07 14:25:42 +0100
commitdfc62c908426920fba9286e66873343a8b1358b4 (patch)
tree44904ee1a4ab359b65c80e636161fb638fdfa965 /pkgs/development/tools/parsing/bison
parent320498d5297f28a636d0afe5df3cf768aa472d50 (diff)
downloadnixlib-dfc62c908426920fba9286e66873343a8b1358b4.tar
nixlib-dfc62c908426920fba9286e66873343a8b1358b4.tar.gz
nixlib-dfc62c908426920fba9286e66873343a8b1358b4.tar.bz2
nixlib-dfc62c908426920fba9286e66873343a8b1358b4.tar.lz
nixlib-dfc62c908426920fba9286e66873343a8b1358b4.tar.xz
nixlib-dfc62c908426920fba9286e66873343a8b1358b4.tar.zst
nixlib-dfc62c908426920fba9286e66873343a8b1358b4.zip
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.)
Diffstat (limited to 'pkgs/development/tools/parsing/bison')
-rw-r--r--pkgs/development/tools/parsing/bison/3.x.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/development/tools/parsing/bison/3.x.nix b/pkgs/development/tools/parsing/bison/3.x.nix
index 2e3a4f8d497b..284223905f64 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, 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";