I've been working on using lua to read a yaml file and print out a nice latex table but I've hit a snag. My lua code uses lyaml installed using luarocks, but luarocks only sees my system lua, which is 5.3. This makes it that when I install luarocks, and try to compile my files using lualatex, it fails. Encouragingly, it points towards the correct installation location, so i know its looking in the right place, but it says that the module is for 5.3, and that 5.2 is required.
It seems that some files in texlive's distribution point towards an option of lua 5.3, and miktex already allows for choosing between 5.2 and 5.3, but I haven't been able to find any information on how to make that change, or if it is indeed possible. Is there a solution to this or do I have to wait for texlive to use luatex compiled with lua 5.3?
This is all done on a fedora 29 system with the current version of texlive 2018.
/usr/local/bin/luatexis a symlink to/usr/local/texlive/2018/bin/x86_64-linux/luatex. You can change that link to/usr/local/texlive/2018/bin/x86_64-linux/luatex53. (You will probably have to rebuild the format usingfmtutil-sys --byfmt=lualatex) – Henri Menke Feb 19 '19 at 04:07