dump_syms: fix building with LLVM 16
Builds were broken on Darwin with https://github.com/nixos/nixpkgs/pull/241692, so this applies the workaround from https://github.com/nixos/nixpkgs/issues/166205
This commit is contained in:
parent
29d6c96900
commit
904913ee16
1 changed files with 5 additions and 0 deletions
|
@ -30,6 +30,11 @@ rustPlatform.buildRustPackage {
|
|||
|
||||
cargoSha256 = "sha256-5WiGckh/jq7AHH3JWZL8tIsj1Gqr8iLX7IyppKsW96k=";
|
||||
|
||||
# Workaround for https://github.com/nixos/nixpkgs/issues/166205
|
||||
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||
NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue