lua-users home
lua-l archive

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

On Wed, Apr 17, 2019 at 5:37 PM Fabio Mascarenhas <> wrote:
> That is only solvable by having LuaRocks provide its own require
> function and monkey-patching the global require (which it used to).

On second thought, things are not actually that bleak, since
ll_require uses regular get/set instead of the raw versions, so the
LuaRocks loader could install a metatable in package.loaded to replace
it with a package cache under the control of LuaRocks.

Fabio Mascarenhas