libfilezilla: fix darwin intel build
New SDK is required to support utimens
This commit is contained in:
parent
d4d822f526
commit
ab391719c2
|
@ -24,6 +24,10 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [ gettext gnutls nettle libxcrypt ]
|
buildInputs = [ gettext gnutls nettle libxcrypt ]
|
||||||
++ lib.optionals stdenv.isDarwin [ libiconv ApplicationServices ];
|
++ lib.optionals stdenv.isDarwin [ libiconv ApplicationServices ];
|
||||||
|
|
||||||
|
preBuild = lib.optionalString (stdenv.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinMinVersion "11") ''
|
||||||
|
export MACOSX_DEPLOYMENT_TARGET=10.13 # for futimens()
|
||||||
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -22204,8 +22204,8 @@ with pkgs;
|
||||||
udev = systemdMinimal;
|
udev = systemdMinimal;
|
||||||
};
|
};
|
||||||
|
|
||||||
libfilezilla = callPackage ../development/libraries/libfilezilla {
|
libfilezilla = darwin.apple_sdk_11_0.callPackage ../development/libraries/libfilezilla {
|
||||||
inherit (darwin.apple_sdk.frameworks) ApplicationServices;
|
inherit (darwin.apple_sdk_11_0.frameworks) ApplicationServices;
|
||||||
};
|
};
|
||||||
|
|
||||||
libfishsound = callPackage ../development/libraries/libfishsound { };
|
libfishsound = callPackage ../development/libraries/libfishsound { };
|
||||||
|
|
Loading…
Reference in a new issue