Commit 98f1f6ea authored by figsoda's avatar figsoda
Browse files

bfc: fix build on darwin

parent d4abe32a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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