# HG changeset patch # User Kim Alvefur # Date 1610753046 -3600 # Node ID b602dd3c4bbc2c4f74e99066f5a36682eb6065ac # Parent 336cba957c88c233392b15e870aee97e8a6702d2 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 diff -r 336cba957c88 -r b602dd3c4bbc core/modulemanager.lua --- a/core/modulemanager.lua Fri Jan 15 18:42:45 2021 +0000 +++ b/core/modulemanager.lua Sat Jan 16 00:24:06 2021 +0100 @@ -209,7 +209,7 @@ 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