1
0
Fork 1
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:
Robin Gloster 2017-08-12 20:18:58 +02:00
parent ccdf2d3279
commit 7e5ebed971
No known key found for this signature in database
GPG key ID: 5E4C836C632C2882

View file

@ -1,5 +1,5 @@
{ stdenv, lib, buildPackages
, autoconf, automake114x, texinfo, fetchurl, perl, xz, libiconv, gmp ? null
, autoreconfHook, texinfo, fetchurl, perl, xz, libiconv, gmp ? null
, hostPlatform, buildPlatform
, aclSupport ? false, acl ? null
, attrSupport ? false, attr ? null
@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
buildInputs = [ gmp ]
++ optional aclSupport acl
++ optional attrSupport attr
++ optionals hostPlatform.isCygwin [ autoconf automake114x texinfo ] # due to patch
++ optionals hostPlatform.isCygwin [ autoreconfHook texinfo ] # due to patch
++ optionals selinuxSupport [ libselinux libsepol ]
# TODO(@Ericson2314): Investigate whether Darwin could benefit too
++ optional (hostPlatform != buildPlatform && hostPlatform.libc != "glibc") libiconv;