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
node in bin/ - keep it internal to the package
- Rename to
clawdbot-node or similar
- Use
passthru or wrapper scripts that reference node internally without exposing it
Environment
- nix-clawdbot from flake
- home-manager with nodejs_24 in packages
- macOS (darwin)
Problem
The clawdbot package bundles its own
nodebinary atbin/node, which conflicts with any system-installed nodejs when both are inhome.packages.Error
Current Workaround
Users must exclude nodejs from their home-manager packages when using clawdbot:
Suggested Fix
Consider one of:
nodeinbin/- keep it internal to the packageclawdbot-nodeor similarpassthruor wrapper scripts that reference node internally without exposing itEnvironment