lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 14 July 2016 at 19:55, Peter Melnichenko <mpeterval@gmail.com> wrote:
> Main function of hererocks is creating an isolated installation of Lua/LuaJIT
> plus LuaRocks in a selected directory. Lua sources are patched so that default
> package.path and package.cpath point to locations LuaRocks uses to store
> installed modules.


this!

of course, Lua doesn't really need to be patched, carefully handling
environment variables work perfectly.  I'd like LuaRocks had that
option too.

but if patching is the only fully functional way to do it, then
automating it is the answer!

-- 
Javier