From a176d8d9544d4301b681a6afe8fcd38a7a6f55aa Mon Sep 17 00:00:00 2001 From: "D. Moonfire" Date: Thu, 18 Apr 2024 21:50:54 -0500 Subject: [PATCH] fix: corrected the dotnet format path --- src/configs/treefmt.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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" ]; }; }