diff options
author | Robert Scott <code@humanleg.org.uk> | 2023-11-20 22:01:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-20 22:01:28 +0000 |
commit | 71d28bf1ae55faeb9f0332767b53ae7d2765d808 (patch) | |
tree | a68f9ab0172804664ee25868aa52bf68da589fed /pkgs | |
parent | 9ec596ce5d1a21894fb0731c4a2d81b1df712b03 (diff) | |
parent | 98f1f6ea7b9c151d0849894f946eefa8924da53c (diff) |
Merge pull request #268776 from figsoda/bfc
bfc: fix build on darwin
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/compilers/bfc/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/compilers/bfc/default.nix b/pkgs/development/compilers/bfc/default.nix index f84026d443f2b..2ebf02b18138f 100644 --- a/pkgs/development/compilers/bfc/default.nix +++ b/pkgs/development/compilers/bfc/default.nix @@ -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 |