aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2025-06-27 02:11:59 -0300
committerHisham Muhammad <hisham@gobolinux.org>2025-12-28 15:21:52 -0300
commit0e654ba974f1761fefbd4737d9e7d1e941297d66 (patch)
tree07bd4bcab19f4fb3a5a2e81719328d95b9e524e9 /src
parent8d013613af86435323cd233204ebb51979836f02 (diff)
downloadluarocks-0e654ba974f1761fefbd4737d9e7d1e941297d66.tar.gz
luarocks-0e654ba974f1761fefbd4737d9e7d1e941297d66.tar.bz2
luarocks-0e654ba974f1761fefbd4737d9e7d1e941297d66.zip
debug
Diffstat (limited to 'src')
-rw-r--r--src/luarocks/deps.lua7
-rw-r--r--src/luarocks/deps.tl7
2 files changed, 12 insertions, 2 deletions
diff --git a/src/luarocks/deps.lua b/src/luarocks/deps.lua
index 90c11bd5..be5fd6d8 100644
--- a/src/luarocks/deps.lua
+++ b/src/luarocks/deps.lua
@@ -837,7 +837,12 @@ function deps.check_lua_libdir(vars)
837 vars.LUA_LIBDIR_OK = "ok" 837 vars.LUA_LIBDIR_OK = "ok"
838 return true 838 return true
839 else 839 else
840 err = err or "Failed finding the Lua library. You can use `luarocks config variables.LUA_LIBDIR <path>` to set the correct location." 840 err = err or "Failed finding the Lua library. You can use `luarocks config variables.LUA_LIBDIR <path>` to set the correct location. "
841 for k, files in pairs(errfiles) do
842 for _, f in ipairs(files) do
843 err = err .. "\nTried: " .. k .. " => " .. f
844 end
845 end
841 return nil, err, "dependency", errfiles 846 return nil, err, "dependency", errfiles
842 end 847 end
843end 848end
diff --git a/src/luarocks/deps.tl b/src/luarocks/deps.tl
index 55006a95..52ff4ce7 100644
--- a/src/luarocks/deps.tl
+++ b/src/luarocks/deps.tl
@@ -837,7 +837,12 @@ function deps.check_lua_libdir(vars: {string: string}): boolean, string, string,
837 vars.LUA_LIBDIR_OK = "ok" 837 vars.LUA_LIBDIR_OK = "ok"
838 return true 838 return true
839 else 839 else
840 err = err or "Failed finding the Lua library. You can use `luarocks config variables.LUA_LIBDIR <path>` to set the correct location." 840 err = err or "Failed finding the Lua library. You can use `luarocks config variables.LUA_LIBDIR <path>` to set the correct location. "
841 for k, files in pairs(errfiles) do
842 for _, f in ipairs(files) do
843 err = err .. "\nTried: " .. k .. " => " .. f
844 end
845 end
841 return nil, err, "dependency", errfiles 846 return nil, err, "dependency", errfiles
842 end 847 end
843end 848end