fix(hermes): consume agent-lib mkHermesSkillsDir via direct flake input

m3ta-home 5e91e5c removed the agent-lib input and its lib.mkHermesSkillsDir
re-export. Finish the removal on our side:

- add agent-lib (agent-lib-legacy on gitea) as a direct flake input,
  pinned to the same rev m3ta-home used before (75a2ed2)
- call inputs.agent-lib.lib.${system}.mkHermesSkillsDir directly in
  hosts/m3-hermes/services/hermes-agent.nix
- bump m3ta-home to dfe148d (drops the dangling pkgs.agent-lib reference
  that broke evaluation of every coding-set host)

nix flake check: all checks passed.
This commit is contained in:
m3ta-chiron committed 2026-10-02 08:30:12 +02:00
1 parent b3f6cad3e2
commit 872a2656dd
3 files changed
+20 -15

No files matched your search

+4 -5
View File
@@ -27,11 +27,10 @@
})
agentSkillExclusions;
# Deterministic store renderer consumed directly by Hermes. m3ta-home
# re-exports the focused helper so nixos-config does not need a direct
# agent-lib flake input.
hermesSkills = inputs.m3ta-home.lib.mkHermesSkillsDir {
system = pkgs.stdenv.hostPlatform.system;
# Deterministic store renderer consumed directly by Hermes. agent-lib's
# mkHermesSkillsDir renders the lockfile-pinned skill sources into a
# symlinked store dir (m3ta-home no longer re-exports it).
hermesSkills = inputs.agent-lib.lib.${pkgs.stdenv.hostPlatform.system}.mkHermesSkillsDir {
name = "hermes-agent-lib-skills";
lockFile = ../../../agent-sources.lock.json;
sources = agentLibSourceSelections;