mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-13 11:30:35 +08:00
Merge pull request #28991 from copumpkin/backport-coreutils-fix-17.09
coreutils: fix on Darwin
This commit is contained in:
@@ -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) ''
|
||||
|
||||
Reference in New Issue
Block a user