fix(nix): set HERMES_BIN default in wrapped binaries
The TUI resolves the CLI via process.env.HERMES_BIN (externalCli.ts) and falls back to a bare 'hermes', which is not on PATH for nix run / nix profile installs that only expose the wrapped binaries. Set a --set-default so the wrapper advertises its own hermes while an explicit operator override (documented in kanban_db.py) still wins.
This commit is contained in:
@@ -192,6 +192,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
--set HERMES_OPTIONAL_MCPS $out/share/hermes-agent/optional-mcps \
|
||||
--set HERMES_WEB_DIST $out/share/hermes-agent/web_dist \
|
||||
--set HERMES_TUI_DIR $out/ui-tui \
|
||||
--set-default HERMES_BIN $out/bin/hermes \
|
||||
--set HERMES_PYTHON ${hermesVenv}/bin/python3 \
|
||||
--set HERMES_NODE ${lib.getExe hermesNpmLib.nodejs}${
|
||||
# Fold the line continuation INTO the optionalString: a bare
|
||||
|
||||
Reference in New Issue
Block a user