From fcf309fad4308c1c6541b2016c5c2e021b73ab0e Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Mon, 18 Jul 2022 11:50:08 +0200 Subject: [PATCH] Fix 'cargo clippy' launched by hand Mis-matching 'rustc' versions lead to errors. --- flake.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 6526384..22a05e4 100644 --- a/flake.nix +++ b/flake.nix @@ -127,9 +127,8 @@ nativeBuildInputs = with pkgs; [ rust-analyzer - # Not included in the pre-commit hook unfortunately... - clippy - rustfmt + # Clippy, rustfmt, etc... + my-rust ]; inherit (checks.pre-commit) shellHook;