sylpheed: unbreak on aarch64-darwin
This commit is contained in:
parent
0bc8e25344
commit
4206272a15
|
@ -1,5 +1,5 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, gtk2, openssl ? null, gpgme ? null
|
||||
, gpgSupport ? true, sslSupport ? true, fetchpatch }:
|
||||
, gpgSupport ? true, sslSupport ? true, fetchpatch, Foundation }:
|
||||
|
||||
assert gpgSupport -> gpgme != null;
|
||||
assert sslSupport -> openssl != null;
|
||||
|
@ -34,18 +34,20 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ gtk2 ]
|
||||
++ optionals gpgSupport [ gpgme ]
|
||||
++ optionals sslSupport [ openssl ];
|
||||
++ optionals sslSupport [ openssl ]
|
||||
++ optionals stdenv.isDarwin [ Foundation ];
|
||||
|
||||
configureFlags = optional gpgSupport "--enable-gpgme"
|
||||
++ optional sslSupport "--enable-ssl";
|
||||
|
||||
# Undefined symbols for architecture arm64: "_OBJC_CLASS_$_NSAutoreleasePool"
|
||||
NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-framework Foundation";
|
||||
|
||||
meta = {
|
||||
homepage = "https://sylpheed.sraoss.jp/en/";
|
||||
description = "Lightweight and user-friendly e-mail client";
|
||||
maintainers = with maintainers; [ eelco ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
license = licenses.gpl2;
|
||||
# never built on aarch64-darwin since first introduction in nixpkgs
|
||||
broken = stdenv.isDarwin && stdenv.isAarch64;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -32539,7 +32539,9 @@ with pkgs;
|
|||
boost = boost168;
|
||||
};
|
||||
|
||||
sylpheed = callPackage ../applications/networking/mailreaders/sylpheed { };
|
||||
sylpheed = callPackage ../applications/networking/mailreaders/sylpheed {
|
||||
inherit (darwin.apple_sdk.frameworks) Foundation;
|
||||
};
|
||||
|
||||
symbolic-preview = callPackage ../applications/graphics/symbolic-preview { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue