Skip to content

Commit 904913e

Browse files
committed
dump_syms: fix building with LLVM 16
Builds were broken on Darwin with #241692, so this applies the workaround from #166205
1 parent 29d6c96 commit 904913e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

pkgs/development/tools/dump_syms/default.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ rustPlatform.buildRustPackage {
3030

3131
cargoSha256 = "sha256-5WiGckh/jq7AHH3JWZL8tIsj1Gqr8iLX7IyppKsW96k=";
3232

33+
# Workaround for https://github.com/nixos/nixpkgs/issues/166205
34+
env = lib.optionalAttrs stdenv.cc.isClang {
35+
NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}";
36+
};
37+
3338
nativeBuildInputs = [
3439
pkg-config
3540
];

0 commit comments

Comments
 (0)