diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2020-01-06 17:09:26 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2020-01-06 17:09:26 +0100 |
commit | abab7da06881c5c2cebde3a754c6aae02e0388f4 (patch) | |
tree | 34ca1d88fa2bb03a7b1151715ac456554e27ea7d | |
parent | 777e5a4676231186fcff58d4ef469f9a97c87851 (diff) | |
download | nixos-abab7da06881c5c2cebde3a754c6aae02e0388f4.tar nixos-abab7da06881c5c2cebde3a754c6aae02e0388f4.tar.gz nixos-abab7da06881c5c2cebde3a754c6aae02e0388f4.tar.bz2 nixos-abab7da06881c5c2cebde3a754c6aae02e0388f4.tar.xz nixos-abab7da06881c5c2cebde3a754c6aae02e0388f4.zip |
...
-rw-r--r-- | customized/prosody.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/customized/prosody.nix b/customized/prosody.nix index facf6750..bd7b6785 100644 --- a/customized/prosody.nix +++ b/customized/prosody.nix | |||
@@ -17,7 +17,7 @@ let | |||
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"; |
19 | getLuaCPath = lib : getPath lib "so"; | 19 | getLuaCPath = lib : getPath lib "so"; |
20 | copyModule = name : "cp -rv $communityModules/${name} $out/lib/prosody/modules/"; | 20 | copyModule = name : "cp -rv $communityModules/mod_${name} $out/lib/prosody/modules/"; |
21 | copyExtraModule = path: "n=0; for i in ${path}/*; do n=1; done; if [[ $n -gt 0 ]]; then cp -rv ${path}/* $out/lib/prosody/modules/; fi"; | 21 | copyExtraModule = path: "n=0; for i in ${path}/*; do n=1; done; if [[ $n -gt 0 ]]; then cp -rv ${path}/* $out/lib/prosody/modules/; fi"; |
22 | luaPath = concatStringsSep ";" (map getLuaPath libs); | 22 | luaPath = concatStringsSep ";" (map getLuaPath libs); |
23 | luaCPath = concatStringsSep ";" (map getLuaCPath libs); | 23 | luaCPath = concatStringsSep ";" (map getLuaCPath libs); |