lua-users home
lua-l archive

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


On 15 July 2016 at 05:58, Javier Guerra Giraldez <javier@guerrag.com> wrote:
> 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.

It has! :) LuaRocks supports $LUAROCKS_CONFIG, through which you can
point to a config file of your current environment's liking.

-- Hisham