mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 09:07:58 +00:00
clippy: enable debug info
This was useful while tracking down why clippy was broken when cross-compiling.
This commit is contained in:
parent
e4fda18f56
commit
a1924ebbbf
@ -4,6 +4,8 @@ rustPlatform.buildRustPackage {
|
||||
pname = "clippy";
|
||||
inherit (rustPlatform.rust.rustc) version src;
|
||||
|
||||
separateDebugInfo = true;
|
||||
|
||||
# the rust source tarball already has all the dependencies vendored, no need to fetch them again
|
||||
cargoVendorDir = "vendor";
|
||||
buildAndTestSubdir = "src/tools/clippy";
|
||||
|
Loading…
Reference in New Issue
Block a user