diff --git a/src/configs/treefmt.nix b/src/configs/treefmt.nix index 305c877..47cf484 100644 --- a/src/configs/treefmt.nix +++ b/src/configs/treefmt.nix @@ -34,12 +34,14 @@ let } // pkgs.lib.attrsets.optionalAttrs dotnet.format { dotnet-format-style = { - command = "dotnet format style --include"; + command = "dotnet"; + options = "format style --include"; includes = [ "*.cs" ]; }; dotnet-format-analyzers = { - command = "dotnet format analyzers --include"; + command = "dotnet"; + options = "format analyzers --include"; includes = [ "*.cs" ]; }; }