From a1924ebbbfbf85815714ca18cad596a33cffe25e Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 12 Apr 2023 19:55:28 +0000 Subject: [PATCH] clippy: enable debug info This was useful while tracking down why clippy was broken when cross-compiling. --- pkgs/development/compilers/rust/clippy.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/compilers/rust/clippy.nix b/pkgs/development/compilers/rust/clippy.nix index 26c73dba33d6..018aba1f3568 100644 --- a/pkgs/development/compilers/rust/clippy.nix +++ b/pkgs/development/compilers/rust/clippy.nix @@ -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";