Pin happy-coder to monorepo migration PR and wire HAPPY_CLAUDE_PATH#33
Open
BCNelson wants to merge 1 commit into
Open
Pin happy-coder to monorepo migration PR and wire HAPPY_CLAUDE_PATH#33BCNelson wants to merge 1 commit into
BCNelson wants to merge 1 commit into
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
happy-coder-monorepo-migration) via a dedicated flake input and overlay until it lands in unstable.happy/happy-mcpwithnodejson PATH because the CLI spawns childnodeprocesses via PATH lookup (e.g.happy daemon start-sync) — the upstream wrapper only points node at an absolute path for the entrypoint.HAPPY_CLAUDE_PATHon the happy wrappers (home-manager) and daemon (NixOS module) so happy-coder uses the pinnedclaude-code-bininstead of resolvingclaudefrom PATH.Test plan
just check-host <workstation>— flake evaluates with the new inputnix build .#nixosConfigurations.<workstation>.config.system.build.toplevel --dry-runhappy daemon start-syncfrom a built profile and confirm it no longer fails on missingnodeHAPPY_CLAUDE_PATHresolves to the pinnedclaude-code-bin/bin/claude