Unverified Commit 39a2e4c2 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #274839 from wegank/espanso-fix

espanso: fix build on darwin
parents 9f83f09e 434c8b89
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -117,6 +117,11 @@ rustPlatform.buildRustPackage rec {
      --replace '"/usr/local/bin/espanso"' '"${placeholder "out"}/bin/espanso"'
  '';

  env = lib.optionalAttrs stdenv.cc.isClang {
    # Work around https://github.com/NixOS/nixpkgs/issues/166205.
    NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}";
  };

  # Some tests require networking
  doCheck = false;