[PR #16] fix: remove nodejs from extended tools to prevent conflict #43

Open
opened 2026-02-15 17:04:41 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/openclaw/nix-openclaw/pull/16
Author: @schickling
Created: 1/26/2026
Status: 🔄 Open

Base: mainHead: fix/remove-nodejs-from-tools


📝 Commits (1)

  • 17ad8a5 fix: remove nodejs from extended tools to prevent conflict

📊 Changes

1 file changed (+0 additions, -1 deletions)

View changed files

📝 nix/tools/extended.nix (+0 -1)

📄 Description

Summary

  • Remove nodejs_22 from the extended tools list to prevent conflicts with system-installed nodejs

Problem

The clawdbot package bundles nodejs_22 in its extended tools (nix/tools/extended.nix), which conflicts with system-installed nodejs when both are in home.packages:

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'

Solution

Remove nodejs_22 from the baseNames list in extended.nix. The clawdbot-gateway wrapper already references node internally via makeWrapper with $NODE_BIN, so there's no need to expose node in the user's PATH through the tools bundle.

Clawdbot continues to work correctly because:

  1. The gateway uses makeWrapper to reference nodejs internally
  2. pnpm is still included for any npm-related tooling needs

Fixes #15


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/openclaw/nix-openclaw/pull/16 **Author:** [@schickling](https://github.com/schickling) **Created:** 1/26/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/remove-nodejs-from-tools` --- ### 📝 Commits (1) - [`17ad8a5`](https://github.com/openclaw/nix-openclaw/commit/17ad8a5dbc201a5f1fca4660109d415978cb7df2) fix: remove nodejs from extended tools to prevent conflict ### 📊 Changes **1 file changed** (+0 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `nix/tools/extended.nix` (+0 -1) </details> ### 📄 Description ## Summary - Remove `nodejs_22` from the extended tools list to prevent conflicts with system-installed nodejs ## Problem The clawdbot package bundles `nodejs_22` in its extended tools (`nix/tools/extended.nix`), which conflicts with system-installed nodejs when both are in `home.packages`: ``` 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' ``` ## Solution Remove `nodejs_22` from the `baseNames` list in `extended.nix`. The `clawdbot-gateway` wrapper already references node internally via `makeWrapper` with `$NODE_BIN`, so there's no need to expose node in the user's PATH through the tools bundle. Clawdbot continues to work correctly because: 1. The gateway uses `makeWrapper` to reference nodejs internally 2. pnpm is still included for any npm-related tooling needs Fixes #15 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 17:04:41 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: openclaw/nix-openclaw#43