setup
checks.x86_64-linux.treefmt
· build #186
· raw
1this derivation will be built:2 /nix/store/cix8gxwwlzlzh8f0zxvw1yscbmin83w7-treefmt-check.drv3error: Cannot build '/nix/store/cix8gxwwlzlzh8f0zxvw1yscbmin83w7-treefmt-check.drv'.4 Reason: builder failed with exit code 1.5 Output paths:6 /nix/store/x49prdbm8hff2fypy1igszlf48fnskch-treefmt-check7 Last 25 log lines:8 > 178 | hermes_dir = os.path.join(config_home, "Hermes")9 > 179 | registry_path = os.path.join(hermes_dir, "connections.json")10 > 180 | connection_path = os.path.join(hermes_dir, "connection.json")11 > | ^^^^^^^^^^^^12 > 181 | sidecar_path = os.path.join(hermes_dir, "nix-managed-connections.json")13 > |14 >15 > PTH118 `os.path.join()` should be replaced by `Path` with `/` operator16 > --> modules/nixos/hermes/desktop-connections.py:181:2017 > |18 > 179 | registry_path = os.path.join(hermes_dir, "connections.json")19 > 180 | connection_path = os.path.join(hermes_dir, "connection.json")20 > 181 | sidecar_path = os.path.join(hermes_dir, "nix-managed-connections.json")21 > | ^^^^^^^^^^^^22 > 182 |23 > 183 | if args.reset:24 > |25 >26 > Found 57 errors.27 > No fixes available (8 hidden fixes can be enabled with the `--unsafe-fixes` option).28 >29 > traversed 612 files30 > emitted 399 files for processing31 > formatted 248 files (5 changed) in 906ms32 > Error: failed to finalise formatting: formatting failures detected33 For full logs, run:34 nix log /nix/store/cix8gxwwlzlzh8f0zxvw1yscbmin83w7-treefmt-check.drv