diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-09-30 16:45:36 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-09-30 16:45:36 +0200 |
commit | cb5eb0feb588744f61907e9c8c6b32b0647c57cd (patch) | |
tree | bdafdad65601fdb57c603397cb04ee7a3fe7d7f9 /customized/prosody.nix | |
parent | 98143c1ef19f7a5c79d6c48a2999c3511896b77d (diff) | |
download | nixos-cb5eb0feb588744f61907e9c8c6b32b0647c57cd.tar nixos-cb5eb0feb588744f61907e9c8c6b32b0647c57cd.tar.gz nixos-cb5eb0feb588744f61907e9c8c6b32b0647c57cd.tar.bz2 nixos-cb5eb0feb588744f61907e9c8c6b32b0647c57cd.tar.xz nixos-cb5eb0feb588744f61907e9c8c6b32b0647c57cd.zip |
syntax
Diffstat (limited to 'customized/prosody.nix')
-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 86502233..3ba58276 100644 --- a/customized/prosody.nix +++ b/customized/prosody.nix | |||
@@ -18,7 +18,7 @@ let | |||
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 | 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); |
24 | copyModules = concatStringsSep ";" (map copyModule (communityModules ++ ["mod_websocket"])); | 24 | copyModules = concatStringsSep ";" (map copyModule (communityModules ++ ["mod_websocket"])); |