Merge pull request #274839 from wegank/espanso-fix
espanso: fix build on darwin
This commit is contained in:
commit
39a2e4c20a
1 changed files with 5 additions and 0 deletions
|
@ -117,6 +117,11 @@ rustPlatform.buildRustPackage rec {
|
||||||
--replace '"/usr/local/bin/espanso"' '"${placeholder "out"}/bin/espanso"'
|
--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
|
# Some tests require networking
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue