diff --git a/.beads/issues.jsonl b/.beads/issues.jsonl index 071b056..7547d3e 100644 --- a/.beads/issues.jsonl +++ b/.beads/issues.jsonl @@ -1,3 +1,4 @@ +{"_type":"issue","id":"nix-overlay-89n","title":"Refresh flake.lock nixpkgs inputs","description":"Update nixpkgs and nixpkgs-latest flake inputs (pinned 2026-05 and 2026-08) to current nixos-unstable, then re-validate package builds.","status":"in_progress","priority":2,"issue_type":"task","assignee":"Alexander Miroshnichenko","owner":"alex@millerson.name","created_at":"2026-09-13T18:40:17Z","created_by":"Alexander Miroshnichenko","updated_at":"2026-09-13T18:40:18Z","started_at":"2026-09-13T18:40:18Z","dependency_count":0,"dependent_count":0,"comment_count":0} {"_type":"issue","id":"nix-overlay-cfk","title":"Update all packages to latest upstream versions","description":"Bump every package in packages/ to its latest available upstream version, refresh hashes (src, cargoHash, vendorHash, npm deps, bun2nix, appimage, etc.), verify builds, and update README. Packages: aionui, awg-tool, container-use, desloppify, ds4, freebuff, freetoken, graphify, haivemind, hipengine, kubernetes-mcp-server, llama-cpp, loop, mcp-gateway, nftables-analyzer, nftablesbuilder, omniroute, radar, relay-free-llm, skillsmcp, stakpak, traycer.","status":"closed","priority":2,"issue_type":"task","assignee":"Alexander Miroshnichenko","owner":"alex@millerson.name","created_at":"2026-09-13T13:59:31Z","created_by":"Alexander Miroshnichenko","updated_at":"2026-09-13T18:06:08Z","started_at":"2026-09-13T13:59:35Z","closed_at":"2026-09-13T18:06:08Z","close_reason":"All packages bumped to latest upstream; treefmt clean and nix flake check --no-build passes.","dependency_count":0,"dependent_count":0,"comment_count":0} {"_type":"issue","id":"nix-overlay-05o","title":"Add llama-cpp package (build 9645) to overlay","description":"Port the pinned llama.cpp b9645 derivation from nixos-config/modules/llm-engine.nix into packages/llama-cpp/ (default.nix + package.nix). ROCm + Vulkan enabled, znver5 CPU flags, strix-halo gfx1151 orientation. Must build via nix build .#llama-cpp.","status":"closed","priority":2,"issue_type":"feature","assignee":"Alexander Miroshnichenko","owner":"alex@millerson.name","created_at":"2026-09-13T09:22:26Z","created_by":"Alexander Miroshnichenko","updated_at":"2026-09-13T10:33:35Z","started_at":"2026-09-13T09:22:28Z","closed_at":"2026-09-13T10:33:35Z","close_reason":"llama-cpp b9645 packaged in packages/llama-cpp, built and smoke-tested on gfx1151 (ROCm + Vulkan)","dependency_count":0,"dependent_count":0,"comment_count":0} {"_type":"issue","id":"nix-overlay-6y6","title":"Add Loop corporate messenger package","description":"Add Loop - Corporate messenger for your team. Distributed as x86-64 binary from https://artifacts.wilix.dev/repository/loop-files/loop-6.0.3/loop-desktop-6.0.3-linux-x64.tar.gz","status":"closed","priority":2,"issue_type":"feature","assignee":"Alexander Miroshnichenko","owner":"alex@millerson.name","created_at":"2026-05-29T16:41:37Z","created_by":"Alexander Miroshnichenko","updated_at":"2026-05-29T16:51:32Z","started_at":"2026-05-29T16:42:02Z","closed_at":"2026-05-29T16:51:32Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0} diff --git a/flake.lock b/flake.lock index 58aeee7..075aab9 100644 --- a/flake.lock +++ b/flake.lock @@ -75,11 +75,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1777954456, - "narHash": "sha256-hGdgeU2Nk87RAuZyYjyDjFL6LK7dAZN5RE9+hrDTkDU=", + "lastModified": 1789149629, + "narHash": "sha256-H6GwaZzZf+4npqv0tph94w9tZddSjFjmQrVsW0z78uk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "549bd84d6279f9852cae6225e372cc67fb91a4c1", + "rev": "eaad089433ca2bb662274377d33df3d0e51ef28b", "type": "github" }, "original": { @@ -91,11 +91,11 @@ }, "nixpkgs-latest": { "locked": { - "lastModified": 1785967620, - "narHash": "sha256-IItrdb7Puk05RqOBWZYFC5X6Wl1sJmCfh5MWVHw5iMM=", + "lastModified": 1789149629, + "narHash": "sha256-H6GwaZzZf+4npqv0tph94w9tZddSjFjmQrVsW0z78uk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "b7c2ada94fe99c15b0dbcf4d11fd7850b957a436", + "rev": "eaad089433ca2bb662274377d33df3d0e51ef28b", "type": "github" }, "original": { @@ -105,6 +105,22 @@ "type": "github" } }, + "nixpkgs-torch211": { + "locked": { + "lastModified": 1777954456, + "narHash": "sha256-hGdgeU2Nk87RAuZyYjyDjFL6LK7dAZN5RE9+hrDTkDU=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "549bd84d6279f9852cae6225e372cc67fb91a4c1", + "type": "github" + }, + "original": { + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "549bd84d6279f9852cae6225e372cc67fb91a4c1", + "type": "github" + } + }, "root": { "inputs": { "blueprint": "blueprint", @@ -112,6 +128,7 @@ "flake-parts": "flake-parts", "nixpkgs": "nixpkgs", "nixpkgs-latest": "nixpkgs-latest", + "nixpkgs-torch211": "nixpkgs-torch211", "systems": "systems", "treefmt-nix": "treefmt-nix" } diff --git a/flake.nix b/flake.nix index e2acbda..9de7b8d 100644 --- a/flake.nix +++ b/flake.nix @@ -6,6 +6,11 @@ # Newer nixpkgs whose toolchains are required by some packages: # rustc >= 1.95 (mcp-gateway >= 3.4.0), go >= 1.26.3 (kubernetes-mcp-server >= 0.0.66). nixpkgs-latest.url = "github:NixOS/nixpkgs/nixos-unstable"; + # freetoken pins torch>=2.11,<2.12 and triton==3.6.0; current + # nixos-unstable only ships torch 2.13 / triton 3.7. Keep the previous + # nixpkgs revision for freetoken so its CUDA 12.9 / torch 2.11 stack is + # unchanged. + nixpkgs-torch211.url = "github:NixOS/nixpkgs/549bd84d6279f9852cae6225e372cc67fb91a4c1"; systems.url = "github:nix-systems/default"; blueprint = { url = "github:numtide/blueprint"; diff --git a/packages/freetoken/default.nix b/packages/freetoken/default.nix index 291b4f4..723ad66 100644 --- a/packages/freetoken/default.nix +++ b/packages/freetoken/default.nix @@ -1,5 +1,10 @@ { pkgs, + inputs, ... }: -pkgs.callPackage ./package.nix { } +# freetoken pins torch>=2.11,<2.12 and triton==3.6.0, but current +# nixos-unstable ships torch 2.13 + triton 3.7 and no older torch. Build it +# with the pinned nixpkgs-torch211 revision (CUDA 12.9 / torch-bin 2.11). +inputs.nixpkgs-torch211.legacyPackages.${pkgs.stdenv.hostPlatform.system}.callPackage ./package.nix + { } diff --git a/packages/graphify/default.nix b/packages/graphify/default.nix index 291b4f4..abc469f 100644 --- a/packages/graphify/default.nix +++ b/packages/graphify/default.nix @@ -2,4 +2,18 @@ pkgs, ... }: -pkgs.callPackage ./package.nix { } +# nixpkgs' pybloomfilter3 0.7.3 (a datasketch dependency) ships sdist metadata +# that still says 0.7.2, which makes pythonMetadataCheckPhase fail even though +# the build succeeds. Skip only that check. +let + python = pkgs.python3.override { + packageOverrides = self: super: { + pybloomfilter3 = super.pybloomfilter3.overridePythonAttrs (_: { + dontCheckPythonMetadata = true; + }); + }; + }; +in +python.pkgs.callPackage ./package.nix { + python3Packages = python.pkgs; +}