From 01b363d7c06bb34e16efe7a4ff54e570db308af8 Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Sat, 1 Jul 2023 19:42:12 -0500 Subject: [PATCH] Remove `cargo-check` pre-commit hook --- flake.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index b8fab2d..80ea1a4 100644 --- a/flake.nix +++ b/flake.nix @@ -64,10 +64,7 @@ # Build the actual crate itself, reusing the dependency # artifacts from above. - rga = craneLib.buildPackage { - inherit cargoArtifacts src buildInputs; - doCheck = false; - }; + rga = craneLib.buildPackage { inherit cargoArtifacts src buildInputs; }; pre-commit = pre-commit-hooks.lib."${system}".run; in { @@ -107,7 +104,6 @@ hooks = { nixfmt.enable = true; rustfmt.enable = true; - cargo-check.enable = true; typos = { enable = true; types = [ "text" ];