From c0f064add0c4a3d4bf4eccb79b95c3f74388fad7 Mon Sep 17 00:00:00 2001 From: agent-engineering Date: Thu, 14 May 2026 16:05:55 -0700 Subject: [PATCH] fix: include messaging dependency group in default Hermes build Adds discord.py, python-telegram-bot, slack-bolt, and other messaging platform libraries to the default Hermes derivation. This is required for Discord/Slack/Telegram channel integration in k3s-deployed agents. The [all] extras group stopped including messaging on 2026-05-12 (switched to lazy-install), but our Nix-built container images have no pip available for runtime lazy installation. Closes #2 --- nix/packages.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nix/packages.nix b/nix/packages.nix index dbf6356..ffe367b 100644 --- a/nix/packages.nix +++ b/nix/packages.nix @@ -4,9 +4,10 @@ let pkgs = inputs.nixpkgs.legacyPackages.${system}; in { - default = inputs.hermes-agent.packages.${system}.default; - - speckl-config = pkgs.writeTextDir "speckl-config.yaml" '' + # Hermes agent with messaging platform support (Discord, Slack, Telegram) + default = inputs.hermes-agent.packages.${system}.default.override { + extraDependencyGroups = [ "messaging" ]; + }; = pkgs.writeTextDir "speckl-config.yaml" '' # Speckl SME — generated config # Override via services.hermes-speckl.settings model: