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:
Rasyidan Akbar F. 2026-03-22 02:31:48 +07:00
commit f64b73730e

View file

@ -37,7 +37,7 @@ let
customSkillSpecs = lib.mapAttrsToList (name: value: {
inherit name;
inherit (value) category;
source = toString value.source;
source = "${value.source}";
}) cfg.skills.custom;
skillsManaged = cfg.skills.bundled.enable || cfg.skills.optional != [ ] || cfg.skills.custom != { };