You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mcpx package: absorb dezren39/nix's platform checkPhase adaptations into pkgs/mcpx/package.nix #4798
dezren39/nix's flake currently rewrites this package's checkPhase from downstream (guarded replaceStrings in its mcpx override): on Linux it adds '-p 1' (serial package tests so the timing-sensitive retention/reopen test is not starved), on darwin it adds a -skip list of the 20 Linux-only takeover/handoff tests (#418). The coupling is fragile by design — the package's own comment documents that the exact 'go test -timeout 30m $pkgs' line is load-bearing downstream, and nix carries a flake check (mcpx-darwin-skip) whose only job is policing the coupling.\n\nPer Drew (2026-11-03): the adaptations belong in the package itself, as platform conditionals. This issue is step 1 of a three-repo simplification:\n1. (this repo) package.nix constructs its checkPhase with the platform flags directly; the downstream-coupling comment is replaced.\n2. (developing-today/opencode) expose the mcpx daemon modules (NixOS / home-manager / darwin) as flake outputs, package defaulting to the fork's mcpx build.\n3. (dezren39/nix) drop the opencode + mcpx-src inputs (consume everything through the openchamber input), drop the private mcpx build, the checkPhase rewrites, the mcpx-darwin-skip check, the opencode mcpx override, and modules/mcpx — services.mcpx comes from the fork's module, so the daemon and the mcpx bundled in opencode are one build by construction.
Completed by #4799 (merged): pkgs/mcpx/package.nix now constructs its checkPhase command with the platform adaptations in-package (Linux -p 1, darwin takeover-test -skip), and the buildcheck guard was updated to match. Steps 2-3 continue in developing-today-forks/opencode#1502 and dezren39/darwin-nix#1384; the module-origin piece is #4801.
Activity
mcpx: absorb the platform checkPhase adaptations from dezren39/nix (#…
mcpx: update the buildcheck guard for the constructed goTestCmd (#4798)
dezren39 commentedon Nov 3, 2026
Completed by #4799 (merged): pkgs/mcpx/package.nix now constructs its checkPhase command with the platform adaptations in-package (Linux -p 1, darwin takeover-test -skip), and the buildcheck guard was updated to match. Steps 2-3 continue in developing-today-forks/opencode#1502 and dezren39/darwin-nix#1384; the module-origin piece is #4801.