Skip to content

mcpx package fails to build at main HEAD — vendored module gap (golang.org/x/net/publicsuffix) blocks home-manager generation #3074

Closed

Description

@dezren39

Verified 2026-10-31 while deploying the OpenClaw route-only change (#3065) + proxy sessions fix (#3072): building .#nixosConfigurations.amd.config.home-manager.users.user.home.activationPackage at origin/main (0acf0ca) fails in mcpx-0.1.0:

internal/cli/elicit.go:19:2: cannot find module providing package golang.org/x/net/publicsuffix: import lookup disabled by -mod=vendor

The elicit surface (#1678, ff55530/f6260328a) imports golang.org/x/net/publicsuffix but the vendored tree under pkgs/mcpx was not updated to provide it. The home-manager generation therefore cannot build at HEAD, which blocks any laptop config activation (OpenClaw config, proxy unit env, etc.).

Fix: refresh the vendored modules for pkgs/mcpx (go mod tidy && go mod vendor, or the repo's vendoring equivalent) and add a CI check that builds the home-manager activation package (or at least the mcpx package) so a broken generation cannot land on main unnoticed.

Activity

  1. dezren39 commented on Oct 31, 2026

    @dezren39
    MemberAuthor

    More evidence (2026-10-31): the failure is NOT from today's merges — the activation build at 2854c40 (merge of #3072, before HEAD's #2994) fails the same way. The generation has been unbuildable since the #1678 elicit commits landed, i.e. since after the last successful laptop switch (2026-10-30).

    pkgs/mcpx/go.mod already requires golang.org/x/net v0.59.0, so the import is declared — the module/vendor metadata the Nix build consumes (package.nix vendorHash via buildGo127Module) does not provide the package at build time. Fix in flight: tidy/refresh the module metadata in pkgs/mcpx, update vendorHash in pkgs/mcpx/package.nix, verify the mcpx package builds, PR.

  2. added 2 commits that reference this issue on Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions