From cb5eb0feb588744f61907e9c8c6b32b0647c57cd Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 30 Sep 2015 16:45:36 +0200 Subject: syntax --- customized/prosody.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 getLuaPath = lib : getPath lib "lua"; getLuaCPath = lib : getPath lib "so"; copyModule = name : "cp -rv $communityModules/${name} $out/lib/prosody/modules/"; - 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"; + 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"; luaPath = concatStringsSep ";" (map getLuaPath libs); luaCPath = concatStringsSep ";" (map getLuaCPath libs); copyModules = concatStringsSep ";" (map copyModule (communityModules ++ ["mod_websocket"])); -- cgit v1.2.3