about summary refs log tree commit diff
path: root/pkgs/development/tools/parsing
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2016-03-03 16:11:55 +0000
committerRobin Gloster <mail@glob.in>2016-03-03 16:11:55 +0000
commitfed49425c51e66d0278f376eb2e2aa67843269d5 (patch)
tree3149d7484ff8a1e48359c801753f13afbf22157a /pkgs/development/tools/parsing
parent4c9c4c4dcdf406adb235682ab4d50985513f92e3 (diff)
parent7a360b13a0ac35c0f6109d251880ae698c13b221 (diff)
downloadnixlib-fed49425c51e66d0278f376eb2e2aa67843269d5.tar
nixlib-fed49425c51e66d0278f376eb2e2aa67843269d5.tar.gz
nixlib-fed49425c51e66d0278f376eb2e2aa67843269d5.tar.bz2
nixlib-fed49425c51e66d0278f376eb2e2aa67843269d5.tar.lz
nixlib-fed49425c51e66d0278f376eb2e2aa67843269d5.tar.xz
nixlib-fed49425c51e66d0278f376eb2e2aa67843269d5.tar.zst
nixlib-fed49425c51e66d0278f376eb2e2aa67843269d5.zip
Merge remote-tracking branch 'upstream/master' into hardened-stdenv
Diffstat (limited to 'pkgs/development/tools/parsing')
-rw-r--r--pkgs/development/tools/parsing/flex/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/tools/parsing/flex/default.nix b/pkgs/development/tools/parsing/flex/default.nix
index 57ce29f51753..dc25633005b6 100644
--- a/pkgs/development/tools/parsing/flex/default.nix
+++ b/pkgs/development/tools/parsing/flex/default.nix
@@ -17,6 +17,12 @@ stdenv.mkDerivation rec {
   '';
 
   crossAttrs = {
+
+    # disable tests which can't run on build machine
+    postPatch = ''
+      substituteInPlace Makefile.in --replace "tests" " ";
+    '';
+
     preConfigure = ''
       export ac_cv_func_malloc_0_nonnull=yes
       export ac_cv_func_realloc_0_nonnull=yes