[PR #26] [CLOSED] fix: NixOS compatibility and schema compliance #46

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

📋 Pull Request Information

Original PR: https://github.com/openclaw/nix-openclaw/pull/26
Author: @nycterent
Created: 1/29/2026
Status: Closed

Base: mainHead: fix/nixos-compatibility


📝 Commits (6)

  • 3103e1c fix: bundle extensions and docs directories
  • 76b68c6 Merge pull request #1 from nycterent/fix/bundle-memory-core-extension
  • 530256d Sync with upstream moltbot/nix-moltbot
  • 7ff0459 fix: bundle extensions and docs for moltbot
  • b3be7ef Merge branch 'moltbot:main' into main
  • f80412c fix: NixOS compatibility and schema compliance

📊 Changes

2 files changed (+16 additions, -7 deletions)

View changed files

📝 nix/modules/home-manager/moltbot.nix (+5 -6)
📝 nix/scripts/gateway-install.sh (+11 -1)

📄 Description

Summary

  • Replace hardcoded /bin/mkdir and /bin/ln with ${pkgs.coreutils}/bin paths in activation scripts (fixes #5)
  • Make peekaboo.enable default to pkgs.stdenv.isDarwin since peekaboo is macOS-only (fixes #21)
  • Remove invalid byProvider key from mkRoutingConfig as it's not in the upstream schema (fixes #17)

Test plan

  • Verify nix flake check passes
  • Test home-manager module evaluation on NixOS (no /bin path errors)
  • Test on macOS to ensure peekaboo still enables by default
  • Test on Linux to ensure peekaboo does not enable by default

🤖 Generated with Claude Code


🔄 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/26 **Author:** [@nycterent](https://github.com/nycterent) **Created:** 1/29/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/nixos-compatibility` --- ### 📝 Commits (6) - [`3103e1c`](https://github.com/openclaw/nix-openclaw/commit/3103e1ca0d1c850caa7fc1e0951ecbf9032a927f) fix: bundle extensions and docs directories - [`76b68c6`](https://github.com/openclaw/nix-openclaw/commit/76b68c65c556b6d8efbe24207e0a6553e296d9f3) Merge pull request #1 from nycterent/fix/bundle-memory-core-extension - [`530256d`](https://github.com/openclaw/nix-openclaw/commit/530256dc1975e58c97bbc83e1061013537d6d2f2) Sync with upstream moltbot/nix-moltbot - [`7ff0459`](https://github.com/openclaw/nix-openclaw/commit/7ff045948c7dee426a8940ae394a80f94d8f34d9) fix: bundle extensions and docs for moltbot - [`b3be7ef`](https://github.com/openclaw/nix-openclaw/commit/b3be7efa7ba8dd9f2d0b6019595748b349bf30c7) Merge branch 'moltbot:main' into main - [`f80412c`](https://github.com/openclaw/nix-openclaw/commit/f80412ccfe1baeee920bca906f9f329ce91e8a25) fix: NixOS compatibility and schema compliance ### 📊 Changes **2 files changed** (+16 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `nix/modules/home-manager/moltbot.nix` (+5 -6) 📝 `nix/scripts/gateway-install.sh` (+11 -1) </details> ### 📄 Description ## Summary - Replace hardcoded `/bin/mkdir` and `/bin/ln` with `${pkgs.coreutils}/bin` paths in activation scripts (fixes #5) - Make `peekaboo.enable` default to `pkgs.stdenv.isDarwin` since peekaboo is macOS-only (fixes #21) - Remove invalid `byProvider` key from `mkRoutingConfig` as it's not in the upstream schema (fixes #17) ## Test plan - [ ] Verify `nix flake check` passes - [ ] Test home-manager module evaluation on NixOS (no `/bin` path errors) - [ ] Test on macOS to ensure peekaboo still enables by default - [ ] Test on Linux to ensure peekaboo does not enable by default 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <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:42 -05:00
yindo closed this issue 2026-02-15 17:04:42 -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#46