Axel Kittenberger wrote: > > PS: I tried now for over an hour for a minimal proof of concept to have > lualatex successfully require('posix'), but I just can't get this damn paths > to work.
Set LUAINPUTS and CLUAINPUTS in texmf.cnf. E.g.: LUAROCKS_PATH = ~/.luarocks/share/lua/5.3 LUAROCKS_CPATH= ~/.luarocks/lib/lua/5.3 LUAINPUTS = $TEXMFDOTDIR;$TEXMF/scripts/{$progname,$engine,}/{lua,}//;$TEXMF/tex/{luatex,plain,generic,latex,}//;$LUAROCKS_PATH// CLUAINPUTS = $TEXMFDOTDIR;$SELFAUTOLOC/lib/{$progname,$engine,}/lua//;$LUAROCKS_CPATH// LUAINPUTS.lualatex = $TEXMFDOTDIR;$TEXMF/scripts/{$progname,$engine,}/{lua,}//;$TEXMF/tex/{lualatex,latex,luatex,generic,}//;$LUAROCKS_PATH// Andreas