diff options
author | arcnmx <arcnmx@users.noreply.github.com> | 2022-02-11 14:40:12 -0800 |
---|---|---|
committer | arcnmx <arcnmx@users.noreply.github.com> | 2022-02-11 14:45:22 -0800 |
commit | 377f4b2f0b8329697d9e2f14ff4d7fc1fd534b04 (patch) | |
tree | 0755fd0f8d0de195e4e6d395bc607c572ef50a81 /pkgs/servers/xmpp | |
parent | 16d0b4a69f94adb523da8732b231b0d1738bd713 (diff) |
prosody: optional luaEnv customization
This allows an override to add dependencies in the way that `withExtraLibs` enabled in the past.
Diffstat (limited to 'pkgs/servers/xmpp')
-rw-r--r-- | pkgs/servers/xmpp/prosody/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/servers/xmpp/prosody/default.nix b/pkgs/servers/xmpp/prosody/default.nix index 5d97d125105ae..5d0ed06b5ae07 100644 --- a/pkgs/servers/xmpp/prosody/default.nix +++ b/pkgs/servers/xmpp/prosody/default.nix @@ -5,6 +5,7 @@ , withDBI ? true # use withExtraLibs to add additional dependencies of community modules , withExtraLibs ? [ ] +, withExtraLuaPackages ? _: [ ] , withOnlyInstalledCommunityModules ? [ ] , withCommunityModules ? [ ] }: @@ -17,6 +18,7 @@ let ] ++ lib.optional withLibevent p.luaevent ++ lib.optional withDBI p.luadbi + ++ withExtraLuaPackages p ); in stdenv.mkDerivation rec { |