this derivation will be built: /nix/store/jzs5ipdj42mm3568lf5f8wg9vwviq8g6-treefmt-check.drv building '/nix/store/jzs5ipdj42mm3568lf5f8wg9vwviq8g6-treefmt-check.drv' treefmt-check> treefmt v2.5.0ERRO formatter | shellcheck: failed to apply with options '[]': exit status 1 treefmt-check> treefmt-check> treefmt-check> In homeModules/programs/misc-programs/direnv-stdlib.sh line 4: treefmt-check> if [[ ! -f "$PYPROJECT_TOML" ]]; then treefmt-check> ^--------------------------^ SC3010 (warning): In POSIX sh, [[ ]] is undefined. treefmt-check> treefmt-check> treefmt-check> In homeModules/programs/misc-programs/direnv-stdlib.sh line 9: treefmt-check> if [[ -d ".venv" ]]; then treefmt-check> ^--------------^ SC3010 (warning): In POSIX sh, [[ ]] is undefined. treefmt-check> treefmt-check> treefmt-check> In homeModules/programs/misc-programs/direnv-stdlib.sh line 18: treefmt-check> if [[ -z $VIRTUAL_ENV || ! -d $VIRTUAL_ENV ]]; then treefmt-check> ^-- SC3010 (warning): In POSIX sh, [[ ]] is undefined. treefmt-check> treefmt-check> For more information: treefmt-check> https://www.shellcheck.net/wiki/SC3010 -- In POSIX sh, [[ ]] is undefined. treefmt-check> treefmt-check> traversed 420 files treefmt-check> emitted 413 files for processing treefmt-check> formatted 410 files (2 changed) in 801ms treefmt-check> Error: failed to finalise formatting: formatting failures detected error: Cannot build '/nix/store/jzs5ipdj42mm3568lf5f8wg9vwviq8g6-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/52jp8x09lrpb5acvlj7f557jl0xa0377-treefmt-check Last 20 log lines: > if [[ ! -f "$PYPROJECT_TOML" ]]; then > ^--------------------------^ SC3010 (warning): In POSIX sh, [[ ]] is undefined. > > > In homeModules/programs/misc-programs/direnv-stdlib.sh line 9: > if [[ -d ".venv" ]]; then > ^--------------^ SC3010 (warning): In POSIX sh, [[ ]] is undefined. > > > In homeModules/programs/misc-programs/direnv-stdlib.sh line 18: > if [[ -z $VIRTUAL_ENV || ! -d $VIRTUAL_ENV ]]; then > ^-- SC3010 (warning): In POSIX sh, [[ ]] is undefined. > > For more information: > https://www.shellcheck.net/wiki/SC3010 -- In POSIX sh, [[ ]] is undefined. > > traversed 420 files > emitted 413 files for processing > formatted 410 files (2 changed) in 801ms > Error: failed to finalise formatting: formatting failures detected For full logs, run: nix log /nix/store/jzs5ipdj42mm3568lf5f8wg9vwviq8g6-treefmt-check.drv