Unverified Commit 98196307 authored by Stefan Frijters's avatar Stefan Frijters
Browse files

sylpheed: move NIX_LDFLAGS into env for structuredAttrs

parent 38791474
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -54,7 +54,9 @@ stdenv.mkDerivation rec {
  configureFlags = lib.optional gpgSupport "--enable-gpgme" ++ lib.optional sslSupport "--enable-ssl";

  # Undefined symbols for architecture arm64: "_OBJC_CLASS_$_NSAutoreleasePool"
  NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isDarwin "-framework Foundation";
  env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
    NIX_LDFLAGS = "-framework Foundation";
  };

  meta = {
    homepage = "https://sylpheed.sraoss.jp/en/";