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
@ -30,6 +30,11 @@ rustPlatform.buildRustPackage {
|
|||||||
|
|
||||||
cargoSha256 = "sha256-5WiGckh/jq7AHH3JWZL8tIsj1Gqr8iLX7IyppKsW96k=";
|
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 = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user