Merge pull request #273614 from ipetkov/dump_syms

dump_syms: fix building with LLVM 16
This commit is contained in:
Martin Weinelt 2023-12-12 00:33:17 +01:00 committed by GitHub
commit c68839c5d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
];