hermes-agent/nix
Siddharth Balyan 6fb69229ca
fix(nix): fix build failures, TUI Node.js crash, and upgrade container to Node 22 (#12159)
* Add setuptools build dep for legacy alibabacloud packages and updated
stale npm-deps hash

* Add HERMES_NODE env var to pin Node.js version

The TUI requires Node.js 20+ for regex `/v` flag support (used by
string-width). Instead of relying on PATH lookup, explicitly set
HERMES_NODE to the bundled Node 22 in the Nix wrapper, and add a
fallback check in the Python code to use HERMES_NODE if available.

Also upgrade container provisioning to Node 22 via NodeSource (Ubuntu
24.04 ships Node 18 which is EOL) and add a Nix check to verify the
wrapper and Node version at build time.
2026-04-18 19:21:28 +05:30
..
checks.nix fix(nix): fix build failures, TUI Node.js crash, and upgrade container to Node 22 (#12159) 2026-04-18 19:21:28 +05:30
configMergeScript.nix feat: nix flake — uv2nix build, NixOS module, persistent container mode (#20) 2026-03-26 01:08:02 +05:30
devShell.nix nix: delegate devShell setup to package passthru hooks 2026-04-09 15:50:24 -04:00
nixosModules.nix fix(nix): fix build failures, TUI Node.js crash, and upgrade container to Node 22 (#12159) 2026-04-18 19:21:28 +05:30
packages.nix fix(nix): fix build failures, TUI Node.js crash, and upgrade container to Node 22 (#12159) 2026-04-18 19:21:28 +05:30
python.nix fix(nix): fix build failures, TUI Node.js crash, and upgrade container to Node 22 (#12159) 2026-04-18 19:21:28 +05:30
tui.nix fix(nix): fix build failures, TUI Node.js crash, and upgrade container to Node 22 (#12159) 2026-04-18 19:21:28 +05:30