mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
coreutils: use autoreconfHook
This commit is contained in:
parent
ccdf2d3279
commit
7e5ebed971
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, lib, buildPackages
|
{ stdenv, lib, buildPackages
|
||||||
, autoconf, automake114x, texinfo, fetchurl, perl, xz, libiconv, gmp ? null
|
, autoreconfHook, texinfo, fetchurl, perl, xz, libiconv, gmp ? null
|
||||||
, hostPlatform, buildPlatform
|
, hostPlatform, buildPlatform
|
||||||
, aclSupport ? false, acl ? null
|
, aclSupport ? false, acl ? null
|
||||||
, attrSupport ? false, attr ? null
|
, attrSupport ? false, attr ? null
|
||||||
|
@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [ gmp ]
|
buildInputs = [ gmp ]
|
||||||
++ optional aclSupport acl
|
++ optional aclSupport acl
|
||||||
++ optional attrSupport attr
|
++ optional attrSupport attr
|
||||||
++ optionals hostPlatform.isCygwin [ autoconf automake114x texinfo ] # due to patch
|
++ optionals hostPlatform.isCygwin [ autoreconfHook texinfo ] # due to patch
|
||||||
++ optionals selinuxSupport [ libselinux libsepol ]
|
++ optionals selinuxSupport [ libselinux libsepol ]
|
||||||
# TODO(@Ericson2314): Investigate whether Darwin could benefit too
|
# TODO(@Ericson2314): Investigate whether Darwin could benefit too
|
||||||
++ optional (hostPlatform != buildPlatform && hostPlatform.libc != "glibc") libiconv;
|
++ optional (hostPlatform != buildPlatform && hostPlatform.libc != "glibc") libiconv;
|
||||||
|
|
Loading…
Reference in a new issue