don't know how to build these paths: /nix/store/p3fl816mjvhp5kmpjp166mrjc3aykbwy-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/p3fl816mjvhp5kmpjp166mrjc3aykbwy-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/vygp7klaz08dlfp2n967p6x7jd34ifa8-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 3.604s > Error: failed to finalise formatting: formatting failures detected For full logs, run: nix log /nix/store/p3fl816mjvhp5kmpjp166mrjc3aykbwy-treefmt-check.drv