cygwin: findutils fpending and coreutils patch

This commit is contained in:
Marko Durkovic
2015-05-28 10:53:35 +02:00
committed by Rok Garbas
parent 3f6949c3ef
commit 221b5a5be5
3 changed files with 1267 additions and 0 deletions
File diff suppressed because it is too large Load Diff
+4
View File
@@ -1,6 +1,7 @@
{ stdenv, fetchurl, perl, gmp ? null
, aclSupport ? false, acl ? null
, selinuxSupport? false, libselinux ? null, libsepol ? null
, autoconf, automake114x
}:
assert aclSupport -> acl != null;
@@ -18,6 +19,8 @@ let
sha256 = "0bdq6yggyl7nkc2pbl6pxhhyx15nyqhz3ds6rfn448n6rxdwlhzc";
};
patches = if stdenv.isCygwin then [ ./coreutils-8.23-4.cygwin.patch ] else null;
# The test tends to fail on btrfs and maybe other unusual filesystems.
postPatch = stdenv.lib.optionalString (!stdenv.isDarwin) ''
sed '2i echo Skipping dd sparse test && exit 0' -i ./tests/dd/sparse.sh
@@ -26,6 +29,7 @@ let
nativeBuildInputs = [ perl ];
buildInputs = [ gmp ]
++ optional aclSupport acl
++ optionals stdenv.isCygwin [ autoconf automake114x ] # due to patch
++ optionals selinuxSupport [ libselinux libsepol ];
crossAttrs = {