this derivation will be built: /nix/store/cix8gxwwlzlzh8f0zxvw1yscbmin83w7-treefmt-check.drv error: Cannot build '/nix/store/cix8gxwwlzlzh8f0zxvw1yscbmin83w7-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/x49prdbm8hff2fypy1igszlf48fnskch-treefmt-check Last 25 log lines: > 178 | hermes_dir = os.path.join(config_home, "Hermes") > 179 | registry_path = os.path.join(hermes_dir, "connections.json") > 180 | connection_path = os.path.join(hermes_dir, "connection.json") > | ^^^^^^^^^^^^ > 181 | sidecar_path = os.path.join(hermes_dir, "nix-managed-connections.json") > | > > PTH118 `os.path.join()` should be replaced by `Path` with `/` operator > --> modules/nixos/hermes/desktop-connections.py:181:20 > | > 179 | registry_path = os.path.join(hermes_dir, "connections.json") > 180 | connection_path = os.path.join(hermes_dir, "connection.json") > 181 | sidecar_path = os.path.join(hermes_dir, "nix-managed-connections.json") > | ^^^^^^^^^^^^ > 182 | > 183 | if args.reset: > | > > Found 57 errors. > No fixes available (8 hidden fixes can be enabled with the `--unsafe-fixes` option). > > traversed 612 files > emitted 399 files for processing > formatted 248 files (5 changed) in 906ms > Error: failed to finalise formatting: formatting failures detected For full logs, run: nix log /nix/store/cix8gxwwlzlzh8f0zxvw1yscbmin83w7-treefmt-check.drv