sentry-cli: apply fix-swift-lib-path patch only on darwin

This commit is contained in:
Defelo
2025-11-20 18:04:59 +01:00
parent aa12ec6801
commit 00c59b7477
+2 -4
View File
@@ -25,10 +25,8 @@ rustPlatform.buildRustPackage rec {
# Needed to get openssl-sys to use pkgconfig.
OPENSSL_NO_VENDOR = 1;
patches = [
(replaceVars ./fix-swift-lib-path.patch {
swiftLib = lib.getLib swift;
})
patches = lib.optionals stdenv.hostPlatform.isDarwin [
(replaceVars ./fix-swift-lib-path.patch { swiftLib = lib.getLib swift; })
];
buildInputs = [ openssl ];