this derivation will be built: /nix/store/9243mamchi562mhdc3dy8rd0ipxznhg8-treefmt-check.drv error: build of '/nix/store/9243mamchi562mhdc3dy8rd0ipxznhg8-treefmt-check.drv' on 'grpc://farm.numtide.com:50051?connect-timeout=20&restart-grace=900&system=aarch64-linux&token-file=/run/nix-farm-client/farm-token' failed: Cannot build '/nix/store/9243mamchi562mhdc3dy8rd0ipxznhg8-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/awf4iy75085p4vsc8hky4b6fcc7jm8fs-treefmt-check Last 25 log lines: > ┌─ packages/apm-bin/package.nix:6:3 > │ > 6 │ autoPatchelfHook, > │ ^^^^^^^^^^^^^^^^ > > error[use-formatelf]: Use the in-repo `formatelf` hook, not nixpkgs' `autoPatchelfHook`. Declare `formatelf` as a package.nix argument (the callPackage scope provides it) and add it to nativeBuildInputs; it is a drop-in replacement. > ┌─ packages/apm-bin/package.nix:34:67 > │ > 34 │ nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ]; > │ ^^^^^^^^^^^^^^^^ > > error[no-x86-64-darwin]: x86_64-darwin is not a supported system in this repo (dropped from flake `systems`). Do not add platform mappings, hashes, or meta.platforms entries for it. > ┌─ packages/apm-bin/package.nix:82:8 > │ > 82 │ "x86_64-darwin" > │ ^^^^^^^^^^^^^ > > Error: 3 error(s) found in code. > Help: Scan succeeded and found error level diagnostics in the codebase. > > > traversed 595 files > emitted 396 files for processing > formatted 113 files (0 changed) in 9.593s > Error: failed to finalise formatting: formatting failures detected For full logs, run: nix log /nix/store/9243mamchi562mhdc3dy8rd0ipxznhg8-treefmt-check.drv error: Cannot build '/nix/store/9243mamchi562mhdc3dy8rd0ipxznhg8-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/awf4iy75085p4vsc8hky4b6fcc7jm8fs-treefmt-check