mirror of
https://github.com/0xrsydn/nix-hermes-agent.git
synced 2026-08-07 00:53:52 +00:00
fix(module): use string interpolation for custom skill source paths
`toString` converts a Nix path to a string without registering it as a build input, causing "custom skill source not found" errors in the Nix sandbox. String interpolation properly copies the path to the store. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
59bd0a0547
commit
f64b73730e
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ let
|
||||||
customSkillSpecs = lib.mapAttrsToList (name: value: {
|
customSkillSpecs = lib.mapAttrsToList (name: value: {
|
||||||
inherit name;
|
inherit name;
|
||||||
inherit (value) category;
|
inherit (value) category;
|
||||||
source = toString value.source;
|
source = "${value.source}";
|
||||||
}) cfg.skills.custom;
|
}) cfg.skills.custom;
|
||||||
|
|
||||||
skillsManaged = cfg.skills.bundled.enable || cfg.skills.optional != [ ] || cfg.skills.custom != { };
|
skillsManaged = cfg.skills.bundled.enable || cfg.skills.optional != [ ] || cfg.skills.custom != { };
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue