luarocks is confgured with --force-config which prevents it from using user config file. http://www.luarocks.org/en/Installation_instructions_for_Unix --force-config Use a single config location. Do not use the $LUAROCKS_CONFIG variable or the user's home directory. Useful to avoid conflicts when LuaRocks is embedded within an application. Force-config should be used for system instalation. Reproducible: Always
> Force-config should be used for system instalation. Force-config shouldn't be used for system instalation.
Created attachment 345846 [details, diff] Removes --force-config --force-config causes luarocks path to exclude locally installed rocks. Modern versions of luarocks install globally by default, so there is no longer any reason to use this flag.
I've removed the option in 2.0.12. Sorry it took so long.