mirror of
https://github.com/openclaw/nix-openclaw.git
synced 2026-07-25 13:45:53 -04:00
Bug: extensions directory not included in package build #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rhnvrm on GitHub (Jan 19, 2026).
Description
The
gateway-install.shscript doesn't copy theextensions/directory to the output, even though it exists in the source at the pinned commit. This causes built-in channel plugins (Discord, Telegram, etc.) to not load.Environment
c21469b282213cbcc1858921dc668b1cc5e29f7eRoot Cause
In
nix/scripts/gateway-install.sh, only these directories are copied:distnode_modulespackage.jsonuiThe
extensions/directory is missing from this list.Impact
Channels like Discord don't load because the plugin registration code lives in
extensions/discord/. The core Discord functionality exists indist/discord/but without the extension wrapper, it's never registered as a channel plugin.Gateway logs show no Discord initialization - channels list shows empty.
Workaround
Manually extract extensions from the pinned commit to
~/.clawdbot/extensions/:Then restart the gateway - Discord will load from the global extensions directory.
Suggested Fix
Add
extensionsto the copy list ingateway-install.sh:@joshp123 commented on GitHub (Feb 3, 2026):
[🤖 this message brought to you by codex] should be fixed in
94e1f7f7(bundle gateway extensions). Closing for now — come and yell at me in #golden-path-deployments on discord if you're still having issues! Stability work continues; we are making this better every week.