prosody: point prosodyctl by default to correct directories

This commit is contained in:
Sandro Jäckel 2023-11-11 23:04:22 +01:00
parent 67e269e2c0
commit 636aa8dc98
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -64,6 +64,12 @@ stdenv.mkDerivation rec {
make -C tools/migration
'';
buildFlags = [
# don't search for configs in the nix store when running prosodyctl
"INSTALLEDCONFIG=/etc/prosody"
"INSTALLEDDATA=/var/lib/prosody"
];
# the wrapping should go away once lua hook is fixed
postInstall = ''
${concatMapStringsSep "\n" (module: ''