[Slackbuilds-users] luarocks handling multiple lua versions installed

Willy Sudiarto Raharjo willysr at slackbuilds.org
Tue Jan 20 01:24:33 UTC 2026


>Hello there!
>
>I'm the luarocks mantainer, finally got some freetime from work and I
>intend to upgrade my packages, but i've got a question on how to
>handle multiple lua versions. From what I could gather, slackbuilds
>kinda estandardize on Lua 5.4.x as the default, but Luajit (5.1.x
>compatible only) is still available. So how do you prefer to solve
>this? I've got a prototype script here that can detect available
>versions and generate a luarocks-version file for each interpreter
>found, but i'm kinda uncertain about this approach. 

>Would it be considered a good way to solve this? Another question, is
>the package update process still going thought the forms, or some
>other way, like the official git form?

if your script can work with Lua 5.4.x, it would be better to stick
with the latest version as it will ease our work for next repo as
-current also uses the same lua version.

As for updates, you can send it via submission form or via
github/gitlab. Both methods works :)

--
Willy Sudiarto Raharjo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 870 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20260120/e79a5ccb/attachment.asc>


More information about the SlackBuilds-users mailing list