summaryrefslogtreecommitdiff
path: root/customized/prosody.nix
diff options
context:
space:
mode:
Diffstat (limited to 'customized/prosody.nix')
-rw-r--r--customized/prosody.nix4
1 files changed, 2 insertions, 2 deletions
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 @@
1{ stdenv, fetchurl, libidn, openssl, makeWrapper, fetchhg 1{ stdenv, fetchurl, libidn, openssl, makeWrapper, fetchhg
2, lua5, luasocket, luasec, luaexpat, luafilesystem, luabitop, luaevent ? null, luadbi ? null 2, lua5, luasocket, luasec, luaexpat, luafilesystem, luabitop, luaevent ? null, luadbi ? null
3, withLibevent ? true, withZlib ? true, withDBI ? true 3, withLibevent ? true, withDBI ? true
4, withCommunityModules ? [], extraLibs ? [], extraModules ? [] 4, withCommunityModules ? [], extraLibs ? [], extraModules ? []
5}: 5}:
6 6
@@ -12,7 +12,7 @@ with stdenv.lib;
12let 12let
13 libs = [ luasocket luasec luaexpat luafilesystem luabitop ] 13 libs = [ luasocket luasec luaexpat luafilesystem luabitop ]
14 ++ optional withLibevent luaevent 14 ++ optional withLibevent luaevent
15 ++ optional withZlib luazlib 15 ++ optional withDBI luadbi;
16 ++ extraLibs; 16 ++ extraLibs;
17 getPath = lib : type : "${lib}/lib/lua/${lua5.luaversion}/?.${type};${lib}/share/lua/${lua5.luaversion}/?.${type}"; 17 getPath = lib : type : "${lib}/lib/lua/${lua5.luaversion}/?.${type};${lib}/share/lua/${lua5.luaversion}/?.${type}";
18 getLuaPath = lib : getPath lib "lua"; 18 getLuaPath = lib : getPath lib "lua";