Unverified Commit 00c59b74 authored by Defelo's avatar Defelo
Browse files

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

parent aa12ec68
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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 ];