about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMatthew_Cash <matthew@matthew-cash.com>2024-01-26 11:11:50 -0800
committerMatthew_Cash <matthew@matthew-cash.com>2024-01-26 11:11:50 -0800
commit3672dd4c3daab5cb6b5b168bd6ecada4c1982b2f (patch)
tree143dbacaf9e12f1bc153e716f97944537a76fcec /pkgs
parent612f97239e2cc474c13c9dafa0df378058c5ad8d (diff)
clippy: add mainProgram
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/compilers/rust/clippy.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/compilers/rust/clippy.nix b/pkgs/development/compilers/rust/clippy.nix
index 43a10c1c7374b..d9506a4aed301 100644
--- a/pkgs/development/compilers/rust/clippy.nix
+++ b/pkgs/development/compilers/rust/clippy.nix
@@ -38,6 +38,7 @@ rustPlatform.buildRustPackage {
   meta = with lib; {
     homepage = "https://rust-lang.github.io/rust-clippy/";
     description = "A bunch of lints to catch common mistakes and improve your Rust code";
+    mainProgram = "cargo-clippy";
     maintainers = with maintainers; [ basvandijk ] ++ teams.rust.members;
     license = with licenses; [ mit asl20 ];
     platforms = platforms.unix;