Unverified Commit 71d28bf1 authored by Robert Scott's avatar Robert Scott Committed by GitHub
Browse files

Merge pull request #268776 from figsoda/bfc

bfc: fix build on darwin
parents 9ec596ce 98f1f6ea
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