Loading pkgs/development/tools/rust-code-analysis/default.nix +6 −1 Original line number Diff line number Diff line { lib, rustPlatform, fetchCrate }: { lib, rustPlatform, fetchCrate, stdenv }: rustPlatform.buildRustPackage rec { pname = "rust-code-analysis"; Loading @@ -12,6 +12,11 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-axrtFZQOm1/UUBq1CDFkaZCks1mWoLWmfajDfsqSBmY="; # Work around https://github.com/NixOS/nixpkgs/issues/166205. env = lib.optionalAttrs stdenv.cc.isClang { NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}"; }; meta = with lib; { description = "Analyze and collect metrics on source code"; homepage = "https://github.com/mozilla/rust-code-analysis"; Loading Loading
pkgs/development/tools/rust-code-analysis/default.nix +6 −1 Original line number Diff line number Diff line { lib, rustPlatform, fetchCrate }: { lib, rustPlatform, fetchCrate, stdenv }: rustPlatform.buildRustPackage rec { pname = "rust-code-analysis"; Loading @@ -12,6 +12,11 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-axrtFZQOm1/UUBq1CDFkaZCks1mWoLWmfajDfsqSBmY="; # Work around https://github.com/NixOS/nixpkgs/issues/166205. env = lib.optionalAttrs stdenv.cc.isClang { NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}"; }; meta = with lib; { description = "Analyze and collect metrics on source code"; homepage = "https://github.com/mozilla/rust-code-analysis"; Loading