fix(agents): install dsh only on Linux

Assisted-by: DeepSeek Harness (claude-opus-5-5)
This commit is contained in:
Ryan Yin committed 2026-11-26 11:54:59 +08:00
1 parent 4b0db015d3
commit 9b114f5eab
1 file changed
+4 -4
+4 -4
View File
@@ -20,9 +20,6 @@ in
agentPackages.codex
opencode
agentPackages.pi
# dsh from nur-packages: llm-agents.nix's dsh cannot boot on nixpkgs node
# (node-addon-require-builtin probe), this one shims it.
pkgs.dsh
# Docs lookup CLI behind the find-docs skill (agents/skills/find-docs). The skill's flags are
# written against this package, not against upstream's npx instructions.
@@ -30,5 +27,8 @@ in
# MCP servers, configured project-scoped in opencode.jsonc / .codex/config.toml
pkgs.mcp-grafana
];
]
# dsh from nur-packages: llm-agents.nix's dsh cannot boot on nixpkgs node
# (node-addon-require-builtin probe), this one shims it. macOS uses the desktop app.
++ pkgs.lib.optional pkgs.stdenv.hostPlatform.isLinux pkgs.dsh;
}