From cb8b6b5b792f60406555e0d85ad6188a21439510 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 6 Jan 2020 15:25:04 +0100 Subject: ... --- customized/prosody.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'customized') diff --git a/customized/prosody.nix b/customized/prosody.nix index f8633742..a30b4e16 100644 --- a/customized/prosody.nix +++ b/customized/prosody.nix @@ -1,6 +1,6 @@ { stdenv, fetchurl, libidn, openssl, makeWrapper, fetchhg , lua5, luasocket, luasec, luaexpat, luafilesystem, luabitop, luaevent ? null, luadbi ? null -, withLibevent ? true, withZlib ? true, withDBI ? true +, withLibevent ? true, withDBI ? true , withCommunityModules ? [], extraLibs ? [], extraModules ? [] }: @@ -12,7 +12,7 @@ with stdenv.lib; let libs = [ luasocket luasec luaexpat luafilesystem luabitop ] ++ optional withLibevent luaevent - ++ optional withZlib luazlib + ++ optional withDBI luadbi; ++ extraLibs; getPath = lib : type : "${lib}/lib/lua/${lua5.luaversion}/?.${type};${lib}/share/lua/${lua5.luaversion}/?.${type}"; getLuaPath = lib : getPath lib "lua"; -- cgit v1.2.3