lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

rust-code-analysis: fix build on darwin

figsoda 3e39348b d4abe32a

+6 -1
+6 -1
pkgs/development/tools/rust-code-analysis/default.nix
··· 1 - { lib, rustPlatform, fetchCrate }: 1 + { lib, rustPlatform, fetchCrate, stdenv }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "rust-code-analysis"; ··· 11 11 }; 12 12 13 13 cargoHash = "sha256-axrtFZQOm1/UUBq1CDFkaZCks1mWoLWmfajDfsqSBmY="; 14 + 15 + # Work around https://github.com/NixOS/nixpkgs/issues/166205. 16 + env = lib.optionalAttrs stdenv.cc.isClang { 17 + NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}"; 18 + }; 14 19 15 20 meta = with lib; { 16 21 description = "Analyze and collect metrics on source code";