소스 검색

fix: add clippy as part of the toolchain

sbatial 2 년 전
부모
커밋
f717a03813
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      flake.nix
  2. 1 1
      rust-toolchain.toml

+ 1 - 0
flake.nix

@@ -28,6 +28,7 @@
         naersk' = pkgs.callPackage naersk {
           cargo = toolchain;
           rustc = toolchain;
+          clippy = toolchain;
         };
 
         treefmtEval = treefmt-nix.lib.evalModule pkgs ./treefmt.nix;

+ 1 - 1
rust-toolchain.toml

@@ -1,4 +1,4 @@
 [toolchain]
 channel = "nightly"
-components = [ "rustfmt", "rustc", "rust-src", "rust-analyzer", "cargo" ]
+components = [ "rustfmt", "rustc", "rust-src", "rust-analyzer", "cargo", "clippy" ]
 profile = "minimal"