aboutsummaryrefslogtreecommitdiffstats
path: root/core/modulemanager.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/modulemanager.lua')
-rw-r--r--core/modulemanager.lua2
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