this derivation will be built: /nix/store/fkxj1mpwbwa31cwqsvqfx8zx4z8jyyc8-treefmt-check.drv error: Cannot build '/nix/store/fkxj1mpwbwa31cwqsvqfx8zx4z8jyyc8-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/j6qv2p64razribv3kdnbprf8q714y9z5-treefmt-check Last 25 log lines: > 207 | log(f"created session {sid} titled {args.title!r}") > 208 | record(args.state_file, sid) > 209 | return 0 > | ^^^^^^^^ > 210 | except (RuntimeError, OSError, WebSocketException, ValueError) as err: > 211 | log(str(err)) > | > > Found 80 errors (19 fixed, 61 remaining). > No fixes available (13 hidden fixes can be enabled with the `--unsafe-fixes` option). > > ERRO formatter | shellcheck: failed to apply with options '[]': exit status 1 > > > In packages/spaces-install-secret/spaces-install-secret.sh line 1: > # Usage: spaces-install-secret password|luks-passphrase > ^-- SC2148 (error): Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive. > > For more information: > https://www.shellcheck.net/wiki/SC2148 -- Tips depend on target shell and y... > > traversed 596 files > emitted 398 files for processing > formatted 239 files (14 changed) in 910ms > Error: failed to finalise formatting: formatting failures detected For full logs, run: nix log /nix/store/fkxj1mpwbwa31cwqsvqfx8zx4z8jyyc8-treefmt-check.drv