diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2020-01-06 15:25:04 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2020-01-06 15:25:04 +0100 |
commit | cb8b6b5b792f60406555e0d85ad6188a21439510 (patch) | |
tree | a2c121a74d28e5ad8ddb96b9c94492d60fe66a04 /customized/prosody.nix | |
parent | c26bce97790f8d16ab48171e3f157c73781c4ade (diff) | |
download | nixos-cb8b6b5b792f60406555e0d85ad6188a21439510.tar nixos-cb8b6b5b792f60406555e0d85ad6188a21439510.tar.gz nixos-cb8b6b5b792f60406555e0d85ad6188a21439510.tar.bz2 nixos-cb8b6b5b792f60406555e0d85ad6188a21439510.tar.xz nixos-cb8b6b5b792f60406555e0d85ad6188a21439510.zip |
...
Diffstat (limited to 'customized/prosody.nix')
-rw-r--r-- | customized/prosody.nix | 4 |
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; | |||
12 | let | 12 | let |
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"; |