espanso: fix build on darwin
This commit is contained in:
parent
271235e389
commit
434c8b89d4
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