mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
prosody: use default network, remove libevent, config deprecated
`use_libevent` config option has been deprecated as there are 3 networking back-ends (see: https://prosody.im/doc/network_backend). It is probably unwise to stray from the defaults (epoll). Review instructed to flat-out remove it versus previously making it opt-in.
This commit is contained in:
parent
67b3f56ca9
commit
ccb0f87129
@ -779,9 +779,6 @@ in
|
||||
|
||||
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,7 +2,6 @@
|
||||
, icu
|
||||
, lua
|
||||
, nixosTests
|
||||
, withLibevent ? true
|
||||
, withDBI ? true
|
||||
# use withExtraLibs to add additional dependencies of community modules
|
||||
, withExtraLibs ? [ ]
|
||||
@ -16,7 +15,6 @@ let
|
||||
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
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user