-
-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
Problem
The clawdbot package bundles its own node binary at bin/node, which conflicts with any system-installed nodejs when both are in home.packages.
Error
pkgs.buildEnv error: two given paths contain a conflicting subpath:
`/nix/store/...-nodejs-24.13.0/bin/node' and
`/nix/store/...-clawdbot-2.0.0-beta5/bin/node'
Current Workaround
Users must exclude nodejs from their home-manager packages when using clawdbot:
# In home-manager config
home.packages = lib.filter
(pkg: !(lib.hasPrefix "nodejs" (pkg.pname or pkg.name or "")))
existingPackages;Suggested Fix
Consider one of:
- Don't expose
nodeinbin/- keep it internal to the package - Rename to
clawdbot-nodeor similar - Use
passthruor wrapper scripts that reference node internally without exposing it
Environment
- nix-clawdbot from flake
- home-manager with nodejs_24 in packages
- macOS (darwin)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels