setup
checks.x86_64-linux.treefmt
· build #162
· raw
1these 5 derivations will be built:2 /nix/store/wjaj7ih0r2aqgnmpx66kz1jnragcs6zp-statix-config.drv3 /nix/store/v9wgsd5hjpr6a346hh5h3w3igmzy58y1-statix-fix.drv4 /nix/store/60399bncpanw5j0x08c5vmrgxq35sjfz-treefmt.toml.drv5 /nix/store/cxz1gy5xn3mii79xmczmrkyjhx379cf4-treefmt.drv6 /nix/store/kw0694g8crazs8kx63261d35lbcjj9a9-treefmt-check.drv7these 3 paths will be fetched (2.0 MiB download, 5.3 MiB unpacked):8 /nix/store/2wz9g525k9h3cll2g8hrwwfvlxbbkcgz-deadnix-1.3.29 /nix/store/m904f7phk2fh5brrl3b30zi5zf5rmgyx-statix-0.5.8-unstable-2026-07-1710 /nix/store/sdl56jas4w1fhxhxq1iqb47sa1lrcf0z-statix.toml11error: Cannot build '/nix/store/kw0694g8crazs8kx63261d35lbcjj9a9-treefmt-check.drv'.12 Reason: builder failed with exit code 1.13 Output paths:14 /nix/store/w3lsv9g4kn6lkfgq64qz1f22zajg99hp-treefmt-check15 Last 25 log lines:16 > - chmod u+w "$out"17 > - patch "$out" ${pkgs.fetchurl {18 > - url = "https://github.com/NixOS/nixpkgs/commit/70ec0449ae1b034051030931d0163a4790738266.patch";19 > - hash = "sha256-2L2g/dio8e4pU3vT2evscgE8Bo4UZKmWw/SlJ1TmIWo=";20 > - }}21 > - '';22 > - });23 > + }).overrideAttrs24 > + (old: {25 > + # TODO: Remove once https://github.com/NixOS/nixpkgs/pull/576397 reaches our pin.26 > + # Split the RPATH/interpreter edits to avoid corrupting nvidia-smi's ELF mappings.27 > + builder = pkgs.runCommand "nvidia-builder.sh" { nativeBuildInputs = [ pkgs.patch ]; } ''28 > + cp ${old.builder} "$out"29 > + chmod u+w "$out"30 > + patch "$out" ${31 > + pkgs.fetchurl {32 > + url = "https://github.com/NixOS/nixpkgs/commit/70ec0449ae1b034051030931d0163a4790738266.patch";33 > + hash = "sha256-2L2g/dio8e4pU3vT2evscgE8Bo4UZKmWw/SlJ1TmIWo=";34 > + }35 > + }36 > + '';37 > + });38 > # Power management is nearly always required to get nvidia GPUs to39 > # behave on suspend, due to firmware bugs.40 > powerManagement.enable = true;41 For full logs, run:42 nix log /nix/store/kw0694g8crazs8kx63261d35lbcjj9a9-treefmt-check.drv