chore: Configure nixfmt

(cherry picked from commit 3ed92195dfcd4c3a86f1d77c464967531851f85c)
This commit is contained in:
Robert Hensing 2025-08-26 14:49:59 +02:00
parent e04540d4f2
commit eba8c06c9d

View file

@ -5,7 +5,7 @@
];
perSystem = { config, pkgs, ... }: {
pre-commit.settings.hooks.nixpkgs-fmt.enable = true;
pre-commit.settings.hooks.nixfmt-rfc-style.enable = true;
# Temporarily disable rustfmt due to configuration issues
# pre-commit.settings.hooks.rustfmt.enable = true;
pre-commit.settings.settings.rust.cargoManifestPath = "./rust/Cargo.toml";
@ -52,7 +52,7 @@
];
nativeBuildInputs = [
pkgs.rust-analyzer
pkgs.nixpkgs-fmt
pkgs.nixfmt-rfc-style
pkgs.rustfmt
pkgs.pkg-config
pkgs.clang-tools # clangd