Unverified Commit d7c29a31 authored by Alexander Sieg's avatar Alexander Sieg
Browse files

stalwart-mail: cleaup unneeded darwin frameworks

parent b5718c0e
Loading
Loading
Loading
Loading
+6 −13
Original line number Diff line number Diff line
@@ -38,19 +38,12 @@ rustPlatform.buildRustPackage rec {
    rustPlatform.bindgenHook
  ];

  buildInputs =
    [
  buildInputs = [
    bzip2
    openssl
    sqlite
    zstd
    ]
    ++ lib.optionals (stdenv.hostPlatform.isLinux && withFoundationdb) [ foundationdb ]
    ++ lib.optionals stdenv.hostPlatform.isDarwin [
      darwin.apple_sdk.frameworks.CoreFoundation
      darwin.apple_sdk.frameworks.Security
      darwin.apple_sdk.frameworks.SystemConfiguration
    ];
  ] ++ lib.optionals (stdenv.hostPlatform.isLinux && withFoundationdb) [ foundationdb ];

  # Issue: https://github.com/stalwartlabs/mail-server/issues/1104
  buildNoDefaultFeatures = true;