these 5 derivations will be built: /nix/store/wjaj7ih0r2aqgnmpx66kz1jnragcs6zp-statix-config.drv /nix/store/v9wgsd5hjpr6a346hh5h3w3igmzy58y1-statix-fix.drv /nix/store/60399bncpanw5j0x08c5vmrgxq35sjfz-treefmt.toml.drv /nix/store/cxz1gy5xn3mii79xmczmrkyjhx379cf4-treefmt.drv /nix/store/kw0694g8crazs8kx63261d35lbcjj9a9-treefmt-check.drv these 3 paths will be fetched (2.0 MiB download, 5.3 MiB unpacked): /nix/store/2wz9g525k9h3cll2g8hrwwfvlxbbkcgz-deadnix-1.3.2 /nix/store/m904f7phk2fh5brrl3b30zi5zf5rmgyx-statix-0.5.8-unstable-2026-07-17 /nix/store/sdl56jas4w1fhxhxq1iqb47sa1lrcf0z-statix.toml error: Cannot build '/nix/store/kw0694g8crazs8kx63261d35lbcjj9a9-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/w3lsv9g4kn6lkfgq64qz1f22zajg99hp-treefmt-check Last 25 log lines: > - chmod u+w "$out" > - patch "$out" ${pkgs.fetchurl { > - url = "https://github.com/NixOS/nixpkgs/commit/70ec0449ae1b034051030931d0163a4790738266.patch"; > - hash = "sha256-2L2g/dio8e4pU3vT2evscgE8Bo4UZKmWw/SlJ1TmIWo="; > - }} > - ''; > - }); > + }).overrideAttrs > + (old: { > + # TODO: Remove once https://github.com/NixOS/nixpkgs/pull/576397 reaches our pin. > + # Split the RPATH/interpreter edits to avoid corrupting nvidia-smi's ELF mappings. > + builder = pkgs.runCommand "nvidia-builder.sh" { nativeBuildInputs = [ pkgs.patch ]; } '' > + cp ${old.builder} "$out" > + chmod u+w "$out" > + patch "$out" ${ > + pkgs.fetchurl { > + url = "https://github.com/NixOS/nixpkgs/commit/70ec0449ae1b034051030931d0163a4790738266.patch"; > + hash = "sha256-2L2g/dio8e4pU3vT2evscgE8Bo4UZKmWw/SlJ1TmIWo="; > + } > + } > + ''; > + }); > # Power management is nearly always required to get nvidia GPUs to > # behave on suspend, due to firmware bugs. > powerManagement.enable = true; For full logs, run: nix log /nix/store/kw0694g8crazs8kx63261d35lbcjj9a9-treefmt-check.drv