Skip to content

Pin happy-coder to monorepo migration PR and wire HAPPY_CLAUDE_PATH#33

Open
BCNelson wants to merge 1 commit into
mainfrom
happy-coder-monorepo-pr
Open

Pin happy-coder to monorepo migration PR and wire HAPPY_CLAUDE_PATH#33
BCNelson wants to merge 1 commit into
mainfrom
happy-coder-monorepo-pr

Conversation

@BCNelson
Copy link
Copy Markdown
Owner

Summary

  • Track nixpkgs PR #492656 (colonelpanic8/nixpkgs happy-coder-monorepo-migration) via a dedicated flake input and overlay until it lands in unstable.
  • Overlay wraps happy / happy-mcp with nodejs on PATH because the CLI spawns child node processes via PATH lookup (e.g. happy daemon start-sync) — the upstream wrapper only points node at an absolute path for the entrypoint.
  • Set HAPPY_CLAUDE_PATH on the happy wrappers (home-manager) and daemon (NixOS module) so happy-coder uses the pinned claude-code-bin instead of resolving claude from PATH.

Test plan

  • just check-host <workstation> — flake evaluates with the new input
  • nix build .#nixosConfigurations.<workstation>.config.system.build.toplevel --dry-run
  • Run happy daemon start-sync from a built profile and confirm it no longer fails on missing node
  • Confirm HAPPY_CLAUDE_PATH resolves to the pinned claude-code-bin/bin/claude

Track nixpkgs PR #492656 (colonelpanic8/nixpkgs happy-coder-monorepo-migration)
via a dedicated flake input and overlay until it lands in unstable. The
overlay wraps happy/happy-mcp with nodejs on PATH since the CLI spawns child
node processes via PATH lookup.

Also set HAPPY_CLAUDE_PATH on the happy wrappers and daemon so happy-coder
uses the pinned claude-code-bin instead of resolving claude from PATH.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant