about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJan Malakhovski <oxij@oxij.org>2018-08-09 23:11:57 +0000
committerJan Malakhovski <oxij@oxij.org>2018-08-11 09:35:29 +0000
commit65b4ff488b350376347422f94db9dbec1d713ea5 (patch)
treebb6afa0b941f022b087a1b8f10ecbe6b19657cf9
parent3f843e0de600e4d81fbbeaeba0755cebbdee77c9 (diff)
downloadnixlib-65b4ff488b350376347422f94db9dbec1d713ea5.tar
nixlib-65b4ff488b350376347422f94db9dbec1d713ea5.tar.gz
nixlib-65b4ff488b350376347422f94db9dbec1d713ea5.tar.bz2
nixlib-65b4ff488b350376347422f94db9dbec1d713ea5.tar.lz
nixlib-65b4ff488b350376347422f94db9dbec1d713ea5.tar.xz
nixlib-65b4ff488b350376347422f94db9dbec1d713ea5.tar.zst
nixlib-65b4ff488b350376347422f94db9dbec1d713ea5.zip
flex_2_5_35: make tests run, but disable
-rw-r--r--pkgs/development/tools/parsing/flex/2.5.35.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/tools/parsing/flex/2.5.35.nix b/pkgs/development/tools/parsing/flex/2.5.35.nix
index 1062a361413c..1fdad9b62272 100644
--- a/pkgs/development/tools/parsing/flex/2.5.35.nix
+++ b/pkgs/development/tools/parsing/flex/2.5.35.nix
@@ -8,6 +8,10 @@ stdenv.mkDerivation rec {
     sha256 = "0wh06nix8bd4w1aq4k2fbbkdq5i30a9lxz3xczf3ff28yy0kfwzm";
   };
 
+  postPatch = ''
+    patchShebangs tests
+  '';
+
   nativeBuildInputs = [ flex bison texinfo help2man autoreconfHook ];
 
   propagatedBuildInputs = [ m4 ];
@@ -17,6 +21,8 @@ stdenv.mkDerivation rec {
     "ac_cv_func_realloc_0_nonnull=yes"
   ];
 
+  doCheck = false; # fails 2 out of 46 tests
+
   meta = {
     branch = "2.5.35";
     homepage = http://flex.sourceforge.net/;