Closed shivaraj-bh closed 7 months ago
Changing this to justfile
should resolve this I believe.
That doesn't seem to work, it fails with:
treefmt-check> Initialized empty Git repository in /private/tmp/nix-build-treefmt-check.drv-0/project/.git/
treefmt-check> /private/tmp/nix-build-treefmt-check.drv-0/.attr-0l2nkwhif96f51f4amnlf414lhl4rv9vh8iffyp431v6s28gsr90: line 21: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8): No such file or directory
treefmt-check> /nix/store/9nxyqw4vxi4q7258ynz62awfa0dxd4di-bash-5.2-p15/bin/bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8): No such file or directory
treefmt-check> ERROR: Unable to locate the projectRootFile (justfile) in any of: '/private/tmp/nix-build-treefmt-check.drv-0/project' '/private/tmp/nix-build-treefmt-check.drv-0' '/private/tmp' '/private' '/'
Looks like it doesn't have the context of parent folder contents.
...treefmt-check.drv
logs fromnixci
:treefmt
is only traversing the two files present in thedev
sub dir.