cygwin: make coreutils build on cygwin

This commit is contained in:
Rok Garbas 2015-06-04 20:23:36 +02:00
parent 9e99a66c24
commit a84e6336bd

View File

@ -1,7 +1,7 @@
{ stdenv, fetchurl, perl, gmp ? null { stdenv, fetchurl, perl, gmp ? null
, aclSupport ? false, acl ? null , aclSupport ? false, acl ? null
, selinuxSupport? false, libselinux ? null, libsepol ? null , selinuxSupport? false, libselinux ? null, libsepol ? null
, autoconf, automake114x , autoconf, automake114x, texinfo
}: }:
assert aclSupport -> acl != null; assert aclSupport -> acl != null;
@ -29,7 +29,7 @@ let
nativeBuildInputs = [ perl ]; nativeBuildInputs = [ perl ];
buildInputs = [ gmp ] buildInputs = [ gmp ]
++ optional aclSupport acl ++ optional aclSupport acl
++ optionals stdenv.isCygwin [ autoconf automake114x ] # due to patch ++ optionals stdenv.isCygwin [ autoconf automake114x texinfo ] # due to patch
++ optionals selinuxSupport [ libselinux libsepol ]; ++ optionals selinuxSupport [ libselinux libsepol ];
crossAttrs = { crossAttrs = {