Merge pull request #28980 from copumpkin/fix-coreutils-staging

coreutils: fix on Darwin
This commit is contained in:
Daniel Peebles 2017-09-04 14:05:42 -04:00 committed by GitHub
commit 22b79aecc6

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) ''