this derivation will be built: /nix/store/rzizk8gvgrczaacfw83z85cicskbldlh-treefmt-check.drv warning: ignoring the client-specified setting 'store', because it is a restricted setting and you are not a trusted user error: Cannot build '/nix/store/rzizk8gvgrczaacfw83z85cicskbldlh-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/gl0ygl6qcfvalbqi4zzn3s8mg00y5m65-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 (7 changed) in 4.659s > Error: failed to finalise formatting: formatting failures detected For full logs, run: nix log /nix/store/rzizk8gvgrczaacfw83z85cicskbldlh-treefmt-check.drv