From 61975ac8e4039e949a0d1eae2d3a2deb7a55b264 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Tue, 30 Sep 2025 18:39:04 +0200 Subject: [PATCH] temp: Disable rustfmt pre-commit hook --- flake.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index b833505..d4728d0 100644 --- a/flake.nix +++ b/flake.nix @@ -33,9 +33,10 @@ }; pre-commit.settings.hooks.nixpkgs-fmt.enable = true; - pre-commit.settings.hooks.rustfmt.enable = true; + # Temporarily disable rustfmt due to configuration issues + # pre-commit.settings.hooks.rustfmt.enable = true; # Override to pass `--all` - pre-commit.settings.hooks.rustfmt.entry = lib.mkForce "${pkgs.rustfmt}/bin/cargo-fmt fmt --all --manifest-path ./rust/Cargo.toml -- --color always"; + # pre-commit.settings.hooks.rustfmt.entry = lib.mkForce "${pkgs.rustfmt}/bin/cargo-fmt fmt --all --manifest-path ./rust/Cargo.toml -- --color always"; devShells.default = pkgs.mkShell { name = "nix-bindings-devshell";