Hello Guix!

I'm running a Prosody server on a machine running Guix system, and I'm having a bit of trouble getting the community modules included with Guix to work. Online examples I've found, and the Guix system test, have rather barebones configurations which don't include the packaged community modules.

So far, I've tried including the module packages in my system configuration, and then listing them as enabled modules in my Prosody configuration. Unfortunately, this results in errors in the system logs like the following:

```

2025-09-15 21:55:39 localhost prosody[29587]: modulemanager: Unable to load module 'cloud_notify_priority _tag': /gnu/store/4955v4lb0f1rmcmpw0pq7w3sb2g9y304-prosody-0.12.4/lib/prosody/modules/share/lua/5.2/mod_c loud_notify_priority_tag/mod_cloud_notify_priority_tag.lua: No such file or directory

```

It seems like there's a search path issue- indeed, I would not expect the module code to be found in the store directory for the Prosody package, or any of the search paths output by `prosodyctl about`, which seem to include only paths from the Prosody package's inputs. Should I be manually adding community module paths to my Prosody configuration? Is there another way to fix the search paths?

Relatedly, I've installed `luarocks` and can use the Prosody plugin installer, but some community modules have external Lua dependencies and don't seem to find them when I install them with Guix, notably `luaossl`. It seems like there's been a few reported issues in the past with LUA_PATH on Guix which I imagine are related [1][2]. Is there a Guixy way to point Lua to Guix-installed modules?

Ccing Carlo Zancanaro, who seems to be the resident Prosody Guix expert :)

Happy to provide more details/configuration snippets if they would be helpful.

Thanks!

Jake

[1] http://issues.guix.gnu.org/issue/25425

[2] https://issues.guix.gnu.org/44662

Reply via email to