Merge pull request #28991 from copumpkin/backport-coreutils-fix-17.09

coreutils: fix on Darwin
This commit is contained in:
Tim Steinbach
2017-09-04 16:10:55 -04:00
committed by GitHub

View File

@@ -24,8 +24,7 @@ stdenv.mkDerivation rec {
# FIXME needs gcc 4.9 in bootstrap tools
hardeningDisable = [ "stackprotector" ];
patches = optional hostPlatform.isCygwin ./coreutils-8.23-4.cygwin.patch
++ optional hostPlatform.isDarwin stdenv.secure-format-patch;
patches = optional hostPlatform.isCygwin ./coreutils-8.23-4.cygwin.patch;
# The test tends to fail on btrfs and maybe other unusual filesystems.
postPatch = optionalString (!hostPlatform.isDarwin) ''