setup
checks.x86_64-linux.treefmt
· build #11353
· raw
1don't know how to build these paths:2 /nix/store/p3fl816mjvhp5kmpjp166mrjc3aykbwy-treefmt-check.drv3warning: ignoring the client-specified setting 'store', because it is a restricted setting and you are not a trusted user4error: Cannot build '/nix/store/p3fl816mjvhp5kmpjp166mrjc3aykbwy-treefmt-check.drv'.5 Reason: builder failed with exit code 1.6 Output paths:7 /nix/store/vygp7klaz08dlfp2n967p6x7jd34ifa8-treefmt-check8 Last 25 log lines:9 > ┌─ packages/apm-bin/package.nix:6:310 > │11 > 6 │ autoPatchelfHook,12 > │ ^^^^^^^^^^^^^^^^13 >14 > 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.15 > ┌─ packages/apm-bin/package.nix:34:6716 > │17 > 34 │ nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ];18 > │ ^^^^^^^^^^^^^^^^19 >20 > 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.21 > ┌─ packages/apm-bin/package.nix:82:822 > │23 > 82 │ "x86_64-darwin"24 > │ ^^^^^^^^^^^^^25 >26 > Error: 3 error(s) found in code.27 > Help: Scan succeeded and found error level diagnostics in the codebase.28 >29 >30 > traversed 595 files31 > emitted 396 files for processing32 > formatted 113 files (0 changed) in 3.604s33 > Error: failed to finalise formatting: formatting failures detected34 For full logs, run:35 nix log /nix/store/p3fl816mjvhp5kmpjp166mrjc3aykbwy-treefmt-check.drv