Compiling darktable with lua support

If darktable still isn’t finding it, you could try installing the lua5.3 package using apt. I’m using 18.04 and that works fine.