Fix Darwin stdenv to work on 10.13
The main changes are in libSystem, which lost the coretls component in 10.13 and some hardening changes that quietly crash any program that uses %n in a non-constant format string, so we've needed to patch a lot of programs that use gnulib.
This commit is contained in:
@@ -24,7 +24,8 @@ stdenv.mkDerivation rec {
|
||||
# FIXME needs gcc 4.9 in bootstrap tools
|
||||
hardeningDisable = [ "stackprotector" ];
|
||||
|
||||
patches = optional hostPlatform.isCygwin ./coreutils-8.23-4.cygwin.patch;
|
||||
patches = optional hostPlatform.isCygwin ./coreutils-8.23-4.cygwin.patch
|
||||
++ optional hostPlatform.isDarwin stdenv.secure-format-patch;
|
||||
|
||||
# The test tends to fail on btrfs and maybe other unusual filesystems.
|
||||
postPatch = optionalString (!hostPlatform.isDarwin) ''
|
||||
|
||||
Reference in New Issue
Block a user