fix agent crash on start
This commit is contained in:
parent
7e041e6079
commit
c53640040a
2 changed files with 8 additions and 0 deletions
|
|
@ -21,6 +21,10 @@
|
||||||
# `hyperhive.frontend.extraFiles` layered on top — both come
|
# `hyperhive.frontend.extraFiles` layered on top — both come
|
||||||
# from harness-base.nix.
|
# from harness-base.nix.
|
||||||
HIVE_STATIC_DIR = "${config.hyperhive.frontend.mergedDist}";
|
HIVE_STATIC_DIR = "${config.hyperhive.frontend.mergedDist}";
|
||||||
|
# Static runtime assets (branding + claude prompts). Set on the
|
||||||
|
# unit directly — `environment.variables` in harness-base.nix only
|
||||||
|
# populates /etc/profile, which systemd services don't inherit.
|
||||||
|
HIVE_ASSETS_DIR = "${pkgs.hyperhive-assets}/share/hyperhive";
|
||||||
};
|
};
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${pkgs.hyperhive}/bin/hive-ag3nt serve";
|
ExecStart = "${pkgs.hyperhive}/bin/hive-ag3nt serve";
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,10 @@
|
||||||
# the per-agent web UI; point it at the merged agent static dist
|
# the per-agent web UI; point it at the merged agent static dist
|
||||||
# (same shape as for sub-agents).
|
# (same shape as for sub-agents).
|
||||||
HIVE_STATIC_DIR = "${config.hyperhive.frontend.mergedDist}";
|
HIVE_STATIC_DIR = "${config.hyperhive.frontend.mergedDist}";
|
||||||
|
# Static runtime assets (branding + claude prompts). Set on the
|
||||||
|
# unit directly — `environment.variables` in harness-base.nix only
|
||||||
|
# populates /etc/profile, which systemd services don't inherit.
|
||||||
|
HIVE_ASSETS_DIR = "${pkgs.hyperhive-assets}/share/hyperhive";
|
||||||
};
|
};
|
||||||
# See note in agent-base.nix — `/run/current-system/sw` makes the
|
# See note in agent-base.nix — `/run/current-system/sw` makes the
|
||||||
# harness service PATH track `environment.systemPackages` so anything
|
# harness service PATH track `environment.systemPackages` so anything
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue