Files
hermenix/guest
ariandClaude Sonnet 5 04d1889101 Fix hermes-install: give the service an actual PATH
Confirmed live: "curl: command not found" inside hermes-install,
despite curl being in environment.systemPackages. Real NixOS gotcha -
systemPackages populates the interactive PATH (/run/current-system/sw/bin
via /etc/profile), but systemd services get their own minimal PATH
unless the unit is explicitly given one via `path = [...]`. The
installer also shells out to git/node/python/gcc internally, so it's
not just curl that was unreachable.

Factored the package list (previously only in environment.systemPackages)
into a shared `hermesInstallDeps` binding, used for both
environment.systemPackages and hermes-install's `path`, so there's one
list to keep in sync rather than two.

set -euo pipefail (from the last fix) meant this failed loudly and
retried instead of silently self-marking done - working as intended,
just surfacing the next real bug in the chain.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-16 10:56:48 -04:00
..