diff options
author | Kim Alvefur <zash@zash.se> | 2021-01-16 00:24:06 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-01-16 00:24:06 +0100 |
commit | 8f64eafaf75576c6f7d7b946df52880e3942c2b0 (patch) | |
tree | 1593e75ad23da69374c5ee0ea16820e83cfe7b9f /core/modulemanager.lua | |
parent | 8696e7c401418784a0becec6c00430572de1a450 (diff) | |
download | prosody-8f64eafaf75576c6f7d7b946df52880e3942c2b0.tar.gz prosody-8f64eafaf75576c6f7d7b946df52880e3942c2b0.zip |
core.modulemanager: Fix resource location compat with LuaRocks 2.x
The path doesn't include lua version, at least least on Debian, which
still has luarocks 2.x
Diffstat (limited to 'core/modulemanager.lua')
-rw-r--r-- | core/modulemanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua index 3f4233e6..9d2a74c7 100644 --- a/core/modulemanager.lua +++ b/core/modulemanager.lua @@ -209,7 +209,7 @@ local function do_load_module(host, module_name, state) if not load_manifest then -- COMPAT Luarocks 2.x log("debug", "Could not load LuaRocks 3.x manifest, trying 2.x", err); - luarocks_path = custom_plugins.."/lib/luarocks/rocks-"..lua_version; + luarocks_path = custom_plugins.."/lib/luarocks/rocks"; manifest_filename = luarocks_path.."/manifest"; load_manifest, err = envload.envloadfile(manifest_filename, manifest); end |