srid/rust-nix-template

Formatters not working

21CSM opened this issue · 2 comments

Getting an issue in both the terminal and vscode:

terminal:

just fmt
treefmt
sh: line 1: treefmt: command not found
error: Recipe `fmt` failed on line 6 with exit code 127

vscode:

Failed to run nixpkgs-fmt: spawn nixpkgs-fmt ENOENT

I have checked out srid/nixci and that flake seems to be working well for me.

srid commented

Thanks for the report; I just forgot to include the treefmt devShell.

Thanks @srid! Confirming working now.