mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-20 03:43:45 +00:00
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 ]
|
||||
++ 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;
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -22204,8 +22204,8 @@ with pkgs;
|
||||
udev = systemdMinimal;
|
||||
};
|
||||
|
||||
libfilezilla = callPackage ../development/libraries/libfilezilla {
|
||||
inherit (darwin.apple_sdk.frameworks) ApplicationServices;
|
||||
libfilezilla = darwin.apple_sdk_11_0.callPackage ../development/libraries/libfilezilla {
|
||||
inherit (darwin.apple_sdk_11_0.frameworks) ApplicationServices;
|
||||
};
|
||||
|
||||
libfishsound = callPackage ../development/libraries/libfishsound { };
|
||||
|
Loading…
Reference in New Issue
Block a user