Skip to content

Commit

Permalink
dump_syms: fix building with LLVM 16
Browse files Browse the repository at this point in the history
Builds were broken on Darwin with
#241692, so this applies the
workaround from #166205

(cherry picked from commit 904913e)
  • Loading branch information
ipetkov authored and mweinelt committed May 14, 2024
1 parent 6c7da9d commit 883185f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/tools/dump_syms/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
Expand Down

0 comments on commit 883185f

Please sign in to comment.