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.