@Ardubal @civodul @hipsterelectron @juliobiason one approach we took for dealing with that between a lang (Lua) and a system (Arch) was to:
- run luarocks purely as a build tool (`--no-deps`)
- clone luarocks pkgs into arch pkgs mechanically:
- generate a new arch pkg for each luarocks pkg
- parse the luarocks dependency tree and export the data as arch dependencies
This doesn't auto-map the system deps present in Lua pkgs, but it's a start.