Title: mcpx: decide how downstream flakes consume mcpx (sub-flake or the root flake) · Issue #308 · developing-today/code · GitHub
Open Graph Title: mcpx: decide how downstream flakes consume mcpx (sub-flake or the root flake) · Issue #308 · developing-today/code
X Title: mcpx: decide how downstream flakes consume mcpx (sub-flake or the root flake) · Issue #308 · developing-today/code
Description: Problem dezren39/nix vendors a copy of pkgs/mcpx because it has no cheap way to take mcpx from this repo. That copy has drifted: 29 files differ today, and each side holds fixes the other lacks (see dezren39/nix, the issue that removes t...
Open Graph Description: Problem dezren39/nix vendors a copy of pkgs/mcpx because it has no cheap way to take mcpx from this repo. That copy has drifted: 29 files differ today, and each side holds fixes the other lacks (se...
X Description: Problem dezren39/nix vendors a copy of pkgs/mcpx because it has no cheap way to take mcpx from this repo. That copy has drifted: 29 files differ today, and each side holds fixes the other lacks (se...
Opengraph URL: https://github.com/developing-today/code/issues/308
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"mcpx: decide how downstream flakes consume mcpx (sub-flake or the root flake)","articleBody":"## Problem\n\n`dezren39/nix` vendors a copy of `pkgs/mcpx` because it has no cheap way to take mcpx from this repo. That copy has drifted: 29 files differ today, and each side holds fixes the other lacks (see dezren39/nix, the issue that removes the copy). This repo is the primary source for mcpx, so the vendored copy should go. First there has to be a way to consume mcpx from here.\n\n## What exists\n\n- The root flake already exposes `packages.\u003csystem>.mcpx` and `apps.\u003csystem>.mcpx` (`lib/default.nix`, `make-root-apps`), built with a plain `callPackage ../pkgs/mcpx/package.nix { }`.\n- `overlays.mcpx` and `overlays.default` also provide `pkgs.mcpx` (`make-mcpx-overlay`).\n- `pkgs/id` has its own flake, which is a precedent for a package that downstream users take without the rest of the repo.\n\n## What is missing\n\nAdding this repo as a flake input pulls the whole input graph (clan, disko and the NixOS inputs) into the darwin flake's lock file. I have not measured how large that gets, only that the root flake has far more inputs than mcpx needs.\n\nOther points a consumer hits:\n\n- `package.nix` takes `bun-bin ? bun`. The darwin flake passes its own `pkgs/bun-bin`.\n- The package is built with `buildGo127Module`, so the consumer's nixpkgs needs it.\n- The darwin build fails its own check phase on takeover tests that only work on Linux. That is the existing issue #237, and it blocks this one on aarch64-darwin.\n\n## Options\n\n1. A small `pkgs/mcpx/flake.nix` whose only input is nixpkgs, consumed as `github:developing-today/code?dir=pkgs/mcpx`.\n2. Consume the root flake and use `follows` to keep the lock small.\n3. Consume `overlays.mcpx` from the root flake.\n\n## Acceptance criteria\n\n- [ ] One option is chosen and the reason is written down here.\n- [ ] `dezren39/nix` can build mcpx from a pinned rev of this repo on aarch64-darwin with no vendored source.\n- [ ] The consumer can override `bun-bin` or the package pins the one it needs.\n- [ ] CI here builds the package on a darwin runner, or the issue says why it does not.","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-18T20:21:42Z","url":"https://github.com/developing-today/code/issues/308"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:40eeb8db-64b4-da7d-d118-b2f78c58228b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A3E4:DAF5F:55AEC8:6F455D:6B061F79 |
| html-safe-nonce | ec733327326b965e89e9af8bdb4171dd131b09b5402ed362503b9735dbdd6fba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0U0OkRBRjVGOjU1QUVDODo2RjQ1NUQ6NkIwNjFGNzkiLCJ2aXNpdG9yX2lkIjoiNTE4NDYzMjc2NjcwMzk0MjMzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 374b173af9e5a470e3061d3702abe6708a7d34a581dff787d461f13ecf43a42f |
| hovercard-subject-tag | issue:5913747491 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/308/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a89f40697aaed055d5e567b4753d986016c6f41a77e7b27fbcfb3f1ec8a9925c/developing-today/code/issues/308 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a89f40697aaed055d5e567b4753d986016c6f41a77e7b27fbcfb3f1ec8a9925c/developing-today/code/issues/308 |
| og:image:alt | Problem dezren39/nix vendors a copy of pkgs/mcpx because it has no cheap way to take mcpx from this repo. That copy has drifted: 29 files differ today, and each side holds fixes the other lacks (se... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9a7c5824b75ea2ec5e3de73a483229c7bb9f32a774ffd401f010dd9bacf1483d |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b25c3080e84402f75431d8dc7a96b2635219cec7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width