stalwart-mail: cleaup unneeded darwin frameworks

This commit is contained in:
Alexander Sieg
2025-04-27 16:38:20 +02:00
parent b5718c0ec6
commit d7c29a3144
+6 -13
View File
@@ -38,19 +38,12 @@ rustPlatform.buildRustPackage rec {
rustPlatform.bindgenHook
];
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
];
buildInputs = [
bzip2
openssl
sqlite
zstd
] ++ lib.optionals (stdenv.hostPlatform.isLinux && withFoundationdb) [ foundationdb ];
# Issue: https://github.com/stalwartlabs/mail-server/issues/1104
buildNoDefaultFeatures = true;