What's Going Wrong?
I am using the NixOS setup and everything seems to be working well except the Matrix integration does not work. Here is my NixOS config https://github.com/sgiath/nixos-config/blob/master/modules/nixos/server/hermes.nix
I think there was similar issue on non-nixos setup that got fixed in this PR #3873 but this obviously does not work on NixOS. The package needs to be included during build but there is currently no way for me to do that.
Good solution could be something like extraPackages option but extraPythonPackages or something like that. Or just include those libraries automatically in every NixOS build.
One issue might be that it seem like matrix-nio is available only for Python 3.13 and 3.14 but it seems to me that Hermes is using 3.11 ?
Steps Taken
- Installed Hermes agent through NixOS
- Run
journalctl -u hermes-agent.service
Installation Method
Other
Operating System
NixOS unstable
Python Version
No response
Hermes Version
v0.6.0
Output of hermes doctor
Full Error Output
Apr 02 12:01:59 vesta systemd[1]: Started Hermes Agent Gateway.
Apr 02 12:01:59 vesta hermes[507089]: WARNING gateway.platforms.matrix: Matrix: matrix-nio not installed. Run: pip install 'matrix-nio[e2e]'
Apr 02 12:01:59 vesta hermes[507089]: WARNING gateway.run: Matrix: matrix-nio not installed or credentials not set. Run: pip install 'matrix-nio[e2e]'
Apr 02 12:01:59 vesta hermes[507089]: WARNING gateway.run: No adapter available for matrix
What I've Already Tried
No response
What's Going Wrong?
I am using the NixOS setup and everything seems to be working well except the Matrix integration does not work. Here is my NixOS config https://github.com/sgiath/nixos-config/blob/master/modules/nixos/server/hermes.nix
I think there was similar issue on non-nixos setup that got fixed in this PR #3873 but this obviously does not work on NixOS. The package needs to be included during build but there is currently no way for me to do that.
Good solution could be something like
extraPackagesoption butextraPythonPackagesor something like that. Or just include those libraries automatically in every NixOS build.One issue might be that it seem like
matrix-niois available only for Python 3.13 and 3.14 but it seems to me that Hermes is using 3.11 ?Steps Taken
journalctl -u hermes-agent.serviceInstallation Method
Other
Operating System
NixOS unstable
Python Version
No response
Hermes Version
v0.6.0
Output of
hermes doctorFull Error Output
What I've Already Tried
No response