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/iax7rr09vy9y5hl0p80ixczaq5fbssns-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 building '/nix/store/wjaj7ih0r2aqgnmpx66kz1jnragcs6zp-statix-config.drv' building '/nix/store/v9wgsd5hjpr6a346hh5h3w3igmzy58y1-statix-fix.drv' statix-fix> structuredAttrs is enabled building '/nix/store/60399bncpanw5j0x08c5vmrgxq35sjfz-treefmt.toml.drv' treefmt.toml> structuredAttrs is enabled building '/nix/store/cxz1gy5xn3mii79xmczmrkyjhx379cf4-treefmt.drv' treefmt> structuredAttrs is enabled building '/nix/store/iax7rr09vy9y5hl0p80ixczaq5fbssns-treefmt-check.drv' treefmt-check> treefmt v2.6.0traversed 767 files treefmt-check> emitted 522 files for processing treefmt-check> formatted 522 files (3 changed) in 2.894s treefmt-check> M flake/hosts.nix treefmt-check> M hosts/quine/llm.nix treefmt-check> M modules-unstable/hardware/nvidia/default.nix treefmt-check> diff --git a/flake/hosts.nix b/flake/hosts.nix treefmt-check> index e6b8a42..af0fee5 100644 treefmt-check> --- a/flake/hosts.nix treefmt-check> +++ b/flake/hosts.nix treefmt-check> @@ -41,8 +41,7 @@ treefmt-check> # nixpkgs PR #575979 is included and replacement CUDA/ONNX closures are in Flox. treefmt-check> cudaPackages = final.cudaKnownGood.cudaPackages_12_9; treefmt-check> inherit (final.cudaKnownGood) cudaPackages_12_9; treefmt-check> - onnxruntime = treefmt-check> - if prev.config.cudaSupport then final.cudaKnownGood.onnxruntime else prev.onnxruntime; treefmt-check> + onnxruntime = if prev.config.cudaSupport then final.cudaKnownGood.onnxruntime else prev.onnxruntime; treefmt-check> }) treefmt-check> ]; treefmt-check> hostExtraModules = [ treefmt-check> diff --git a/hosts/quine/llm.nix b/hosts/quine/llm.nix treefmt-check> index 861ef7f..5debe70 100644 treefmt-check> --- a/hosts/quine/llm.nix treefmt-check> +++ b/hosts/quine/llm.nix treefmt-check> @@ -1,15 +1,9 @@ treefmt-check> { treefmt-check> pkgs, treefmt-check> config, treefmt-check> - lib, treefmt-check> inputs, treefmt-check> ... treefmt-check> }: treefmt-check> -let treefmt-check> - tailscaleIp4 = "100.93.18.79"; treefmt-check> - primAddress = "10.9.4.3"; treefmt-check> - homeDomain = config.repo.secrets.global.domain.home; treefmt-check> -in treefmt-check> { treefmt-check> environment.systemPackages = [ inputs.smolvm.packages.${pkgs.stdenv.hostPlatform.system}.default ]; treefmt-check> treefmt-check> diff --git a/modules-unstable/hardware/nvidia/default.nix b/modules-unstable/hardware/nvidia/default.nix treefmt-check> index fe1ac88..df70867 100644 treefmt-check> --- a/modules-unstable/hardware/nvidia/default.nix treefmt-check> +++ b/modules-unstable/hardware/nvidia/default.nix treefmt-check> @@ -114,18 +114,21 @@ in treefmt-check> openSha256 = nvidia.open.src.outputHash; treefmt-check> useSettings = false; treefmt-check> usePersistenced = false; treefmt-check> - }).overrideAttrs (old: { treefmt-check> - # TODO: Remove once https://github.com/NixOS/nixpkgs/pull/576397 reaches our pin. treefmt-check> - # Split the RPATH/interpreter edits to avoid corrupting nvidia-smi's ELF mappings. treefmt-check> - builder = pkgs.runCommand "nvidia-builder.sh" { nativeBuildInputs = [ pkgs.patch ]; } '' treefmt-check> - cp ${old.builder} "$out" treefmt-check> - chmod u+w "$out" treefmt-check> - patch "$out" ${pkgs.fetchurl { treefmt-check> - url = "https://github.com/NixOS/nixpkgs/commit/70ec0449ae1b034051030931d0163a4790738266.patch"; treefmt-check> - hash = "sha256-2L2g/dio8e4pU3vT2evscgE8Bo4UZKmWw/SlJ1TmIWo="; treefmt-check> - }} treefmt-check> - ''; treefmt-check> - }); treefmt-check> + }).overrideAttrs treefmt-check> + (old: { treefmt-check> + # TODO: Remove once https://github.com/NixOS/nixpkgs/pull/576397 reaches our pin. treefmt-check> + # Split the RPATH/interpreter edits to avoid corrupting nvidia-smi's ELF mappings. treefmt-check> + builder = pkgs.runCommand "nvidia-builder.sh" { nativeBuildInputs = [ pkgs.patch ]; } '' treefmt-check> + cp ${old.builder} "$out" treefmt-check> + chmod u+w "$out" treefmt-check> + patch "$out" ${ treefmt-check> + pkgs.fetchurl { treefmt-check> + url = "https://github.com/NixOS/nixpkgs/commit/70ec0449ae1b034051030931d0163a4790738266.patch"; treefmt-check> + hash = "sha256-2L2g/dio8e4pU3vT2evscgE8Bo4UZKmWw/SlJ1TmIWo="; treefmt-check> + } treefmt-check> + } treefmt-check> + ''; treefmt-check> + }); treefmt-check> # Power management is nearly always required to get nvidia GPUs to treefmt-check> # behave on suspend, due to firmware bugs. treefmt-check> powerManagement.enable = true; error: Cannot build '/nix/store/iax7rr09vy9y5hl0p80ixczaq5fbssns-treefmt-check.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/1lld5dxskllz5skr07nz7ki918l9q7m2-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/iax7rr09vy9y5hl0p80ixczaq5fbssns-treefmt-check.drv