diff options
author | Dan Peebles <pumpkin@me.com> | 2017-07-11 21:54:13 -0400 |
---|---|---|
committer | Dan Peebles <pumpkin@me.com> | 2017-07-11 21:56:38 -0400 |
commit | 0419452113ebb135907257bb063cb690a4de0b52 (patch) | |
tree | ece5dea38ce8b607aa3bf7f3dc48e002296c0333 /pkgs/tools/compression/gzip/default.nix | |
parent | a889454869e4f7d5ba6067ebcc0ba7fcd26e4417 (diff) |
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.
Diffstat (limited to 'pkgs/tools/compression/gzip/default.nix')
-rw-r--r-- | pkgs/tools/compression/gzip/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/compression/gzip/default.nix b/pkgs/tools/compression/gzip/default.nix index cb7dc65c710d8..bb9555fa600c6 100644 --- a/pkgs/tools/compression/gzip/default.nix +++ b/pkgs/tools/compression/gzip/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, xz }: +{ stdenv, hostPlatform, fetchurl, xz }: stdenv.mkDerivation rec { name = "gzip-${version}"; @@ -9,6 +9,8 @@ stdenv.mkDerivation rec { sha256 = "1lxv3p4iyx7833mlihkn5wfwmz4cys5nybwpz3dfawag8kn6f5zz"; }; + patches = stdenv.lib.optional hostPlatform.isDarwin stdenv.secure-format-patch; + outputs = [ "out" "man" "info" ]; enableParallelBuilding = true; |