stdenv/darwin: move secure-format patch to gnum4

This is the only derivation that needs it anymore.
This commit is contained in:
Matthew Bauer 2019-03-01 23:11:54 -05:00
parent 7f08b28bbf
commit 2ecc1d1599
3 changed files with 2 additions and 7 deletions

View File

@ -13,7 +13,8 @@ stdenv.mkDerivation rec {
configureFlags = [ "--with-syscmd-shell=${stdenv.shell}" ];
# Upstream is aware of it; it may be in the next release.
patches = [ ./s_isdir.patch ] ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin stdenv.secure-format-patch;
patches = [ ./s_isdir.patch ]
++ stdenv.lib.optional stdenv.isDarwin ./darwin-secure-format.patch;
meta = {
homepage = https://www.gnu.org/software/m4/;

View File

@ -132,9 +132,6 @@ in rec {
extraAttrs = {
inherit platform;
parent = last;
# This is used all over the place so I figured I'd just leave it here for now
secure-format-patch = ./darwin-secure-format.patch;
};
overrides = self: super: (overrides self super) // { fetchurl = thisStdenv.fetchurlBoot; };
};
@ -420,9 +417,6 @@ in rec {
inherit platform bootstrapTools;
libc = pkgs.darwin.Libsystem;
shellPackage = pkgs.bash;
# This is used all over the place so I figured I'd just leave it here for now
secure-format-patch = ./darwin-secure-format.patch;
};
allowedRequisites = (with pkgs; [