summary refs log tree commit diff
path: root/pkgs/tools/misc/findutils
diff options
context:
space:
mode:
authorMarko Durkovic <marko@miding.de>2014-10-16 22:06:51 +0200
committerRok Garbas <rok@garbas.si>2015-05-28 10:53:35 +0200
commit221b5a5be5eb698c696b728b0a9b6646422cd9c7 (patch)
treecd6a265233af78e9c8252f4ffc652cef7f5b11bb /pkgs/tools/misc/findutils
parent3f6949c3ef358f28b5f90d9766c33aed8a78a9de (diff)
downloadnixpkgs-221b5a5be5eb698c696b728b0a9b6646422cd9c7.tar
nixpkgs-221b5a5be5eb698c696b728b0a9b6646422cd9c7.tar.gz
nixpkgs-221b5a5be5eb698c696b728b0a9b6646422cd9c7.tar.bz2
nixpkgs-221b5a5be5eb698c696b728b0a9b6646422cd9c7.tar.lz
nixpkgs-221b5a5be5eb698c696b728b0a9b6646422cd9c7.tar.xz
nixpkgs-221b5a5be5eb698c696b728b0a9b6646422cd9c7.tar.zst
nixpkgs-221b5a5be5eb698c696b728b0a9b6646422cd9c7.zip
cygwin: findutils fpending and coreutils patch
Diffstat (limited to 'pkgs/tools/misc/findutils')
-rw-r--r--pkgs/tools/misc/findutils/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/misc/findutils/default.nix b/pkgs/tools/misc/findutils/default.nix
index eb8c026ab0f..188b573efec 100644
--- a/pkgs/tools/misc/findutils/default.nix
+++ b/pkgs/tools/misc/findutils/default.nix
@@ -19,6 +19,10 @@ stdenv.mkDerivation rec {
     configureFlags = [ "gl_cv_func_wcwidth_works=yes" ];
   };
 
+  preConfigure = if stdenv.isCygwin then ''
+    sed -i gnulib/lib/fpending.h -e '/include <stdio_ext.h>/d'
+  '' else null;
+
   meta = {
     homepage = http://www.gnu.org/software/findutils/;
     description = "GNU Find Utilities, the basic directory searching utilities of the GNU operating system";