summaryrefslogtreecommitdiff
path: root/customized
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-09-27 16:20:46 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-09-27 16:20:46 +0200
commit74d828e17c3814f6e0804e3c45ab106fcdb05f2e (patch)
treefd11ed7cb6bd056ea5db45e60174c9241eab9d7b /customized
parent7866a1c2e28d351c608477b371b10dc5ddae290f (diff)
downloadnixos-74d828e17c3814f6e0804e3c45ab106fcdb05f2e.tar
nixos-74d828e17c3814f6e0804e3c45ab106fcdb05f2e.tar.gz
nixos-74d828e17c3814f6e0804e3c45ab106fcdb05f2e.tar.bz2
nixos-74d828e17c3814f6e0804e3c45ab106fcdb05f2e.tar.xz
nixos-74d828e17c3814f6e0804e3c45ab106fcdb05f2e.zip
;
Diffstat (limited to 'customized')
-rw-r--r--customized/prosody.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/customized/prosody.nix b/customized/prosody.nix
index 4a6da4fb..80246636 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/${name} $out/lib/prosody/modules/";
21 luaPath = concatStringsSep ";" (map getLuaPath libs); 21 luaPath = concatStringsSep ";" (map getLuaPath libs);
22 luaCPath = concatStringsSep ";" (map getLuaCPath libs); 22 luaCPath = concatStringsSep ";" (map getLuaCPath libs);
23 copyModules = concatStringsSep ";" (map copyModule (extraModules ++ ["mod_websocket"])); 23 copyModules = concatStringsSep ";" (map copyModule (extraModules ++ ["mod_websocket"]));