bfc: fix build on darwin

This commit is contained in:
figsoda 2023-11-20 12:30:24 -05:00
parent d4abe32acd
commit 98f1f6ea7b

View file

@ -29,6 +29,9 @@ rustPlatform.buildRustPackage rec {
env = {
LLVM_SYS_130_PREFIX = llvmPackages_13.llvm.dev;
} // lib.optionalAttrs stdenv.cc.isClang {
# Work around https://github.com/NixOS/nixpkgs/issues/166205.
NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}";
};
# process didn't exit successfully: <...> SIGSEGV