diff --git a/flake.lock b/flake.lock index 2b9506e50f..22eebca461 100644 --- a/flake.lock +++ b/flake.lock @@ -1350,22 +1350,6 @@ "type": "github" } }, - "mcpx-src": { - "flake": false, - "locked": { - "lastModified": 1794968769, - "narHash": "sha256-a8f42Y1P0bzJ4PPHpl62bWMfI+z4YMhmBMnpw5g8WFU=", - "owner": "developing-today", - "repo": "code", - "rev": "d3a0db813931cf3eae942f7179ad28c5b33d77e9", - "type": "github" - }, - "original": { - "owner": "developing-today", - "repo": "code", - "type": "github" - } - }, "microvm": { "inputs": { "nixpkgs": "nixpkgs_12", @@ -2279,7 +2263,7 @@ "opencode": { "inputs": { "fleet": "fleet_3", - "mcpx-src": "mcpx-src", + "mcpx-src": [], "nixpkgs": [ "opencode", "fleet", diff --git a/flake.nix b/flake.nix index 204e0082ac..3faa36381c 100755 --- a/flake.nix +++ b/flake.nix @@ -287,8 +287,21 @@ rec { # }; nixos-hardware.url = "github:nixos/nixos-hardware"; # ?shallow=1"; # OpenCode 2.x line: developing-today's fork, carrying the model-routing work; the default branch tracks it. + # Its mcpx-src input follows THIS flake (`""` is the root flake): + # this repo is mcpx's canonical home (pkgs/mcpx), so there is ONE + # mcpx source in this flake graph, the same rule the openchamber + # follow below states for opencode. Left to the fork's own lock, + # the opencode-bundled mcpx was built from whatever code rev that + # lock last pinned (d3a0db81), so a fix landed here never reached + # amd until someone re-locked the fork: amd's rebuild failed on a + # pool test (TestDefaultConfigStdioRunsSupervised) that main had + # already fixed. Following the root also makes the bundled mcpx + # the same derivation as packages..mcpx (same pkgs/mcpx + # tree, same fleet nixpkgs), so a rebuild builds and tests mcpx + # once instead of twice. opencode = { url = "github:developing-today-forks/opencode"; + inputs.mcpx-src.follows = ""; }; # OpenChamber. Its opencode input follows this flake's # `opencode` above: there is ONE opencode source in this flake