this derivation will be built: /nix/store/gzh585pczyvqdfglhpkyw7i6faxadzlp-treefmt-check.drv error: Cannot build '/nix/store/gzh585pczyvqdfglhpkyw7i6faxadzlp-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/3z3wm710l74h0zlj0x90swd6j7qknk47-treefmt-check Last 25 log lines: > 39 | elif os.path.isdir(src): > 40 | os.mkdir(dst) > | ^^^^^^^^ > 41 | bind(src, dst) > 42 | else: > | > help: Replace with `Path(...).mkdir()` > > PTH123 `open()` should be replaced by `Path.open()` > --> modules/nixos/hermes/nix-store-binds.py:43:13 > | > 41 | bind(src, dst) > 42 | else: > 43 | open(dst, "w").close() > | ^^^^ > 44 | bind(src, dst) > | > help: Replace with `Path.open()` > > Found 8 errors. > > traversed 466 files > emitted 316 files for processing > formatted 184 files (0 changed) in 726ms > Error: failed to finalise formatting: formatting failures detected For full logs, run: nix log /nix/store/gzh585pczyvqdfglhpkyw7i6faxadzlp-treefmt-check.drv