Merge pull request #256738 from toastal/prosody-libevent-deprecated

prosody: remove deprecated libevent

Changed files
-5
nixos
modules
services
networking
pkgs
servers
xmpp
prosody
-3
nixos/modules/services/networking/prosody.nix
···
admins = ${toLua cfg.admins}
-
-- we already build with libevent, so we can just enable it for a more performant server
-
use_libevent = true
-
modules_enabled = {
${ lib.concatStringsSep "\n " (lib.mapAttrsToList
-2
pkgs/servers/xmpp/prosody/default.nix
···
, icu
, lua
, nixosTests
-
, withLibevent ? true
, withDBI ? true
# use withExtraLibs to add additional dependencies of community modules
, withExtraLibs ? [ ]
···
luaEnv = lua.withPackages(p: with p; [
luasocket luasec luaexpat luafilesystem luabitop luadbi-sqlite3 luaunbound
]
-
++ lib.optional withLibevent p.luaevent
++ lib.optional withDBI p.luadbi
++ withExtraLuaPackages p
);