coreutils: fix on Darwin

This patch doesn't apply because it's already applied upstream
This commit is contained in:
Dan Peebles 2017-09-04 12:04:07 -04:00
parent 7483832263
commit 550c5c9b3f

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