feat(agents): add dsh from nur-packages (#378)

This commit is contained in:
ryan4yin | 二花 authored and GitHub committed 2026-10-04 17:00:17 +08:00
1 parent 97237f352d
commit fdafca930b
3 files changed
+16 -4

No files matched your search

Generated
+3 -3
View File
@@ -919,11 +919,11 @@
]
},
"locked": {
"lastModified": 1791092245,
"narHash": "sha256-NMMdHhrKjrao7/scubUknk74YPhL/hfYVW0fRK5u++w=",
"lastModified": 1791100543,
"narHash": "sha256-DsuozPwOkBqrobxHGRdAkIJ/XH4RlkklDAdCRZPspIc=",
"owner": "ryan4yin",
"repo": "nur-packages",
"rev": "c749198cdc7e2377459b83fe69769e81183b23bd",
"rev": "f7b563dd38adf37579465b28bfa5f34305cb59f3",
"type": "github"
},
"original": {
+4
View File
@@ -1,6 +1,7 @@
{
pkgs,
llm-agents,
nur-ryan4yin,
...
}:
let
@@ -12,6 +13,9 @@ in
agentPackages.codex
agentPackages.opencode2
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.
nur-ryan4yin.packages.${pkgs.stdenv.hostPlatform.system}.dsh
# MCP servers, configured project-scoped in opencode.jsonc / .codex/config.toml
pkgs.mcp-grafana
+9 -1
View File
@@ -1,4 +1,9 @@
{ pkgs, llm-agents, ... }:
{
pkgs,
llm-agents,
nur-ryan4yin,
...
}:
let
agentPackages = llm-agents.packages.${pkgs.stdenv.hostPlatform.system};
in
@@ -85,5 +90,8 @@ in
agentPackages.codex
agentPackages.opencode2
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.
nur-ryan4yin.packages.${pkgs.stdenv.hostPlatform.system}.dsh
];
}