Skip to content

Conversation

@bsdlme
Copy link

@bsdlme bsdlme commented Sep 12, 2025

FreeBSD installs lua 5.1 binary as lua51. Add this to the list of possible binary names.

Description

Related Issue(s)

Screenshots

FreeBSD installs lua 5.1 binary as `lua51`. Add this to the list of possible binary names.
@bsdlme bsdlme changed the title Fix lua 5.1 detection on FreeBSD fix(rockspec): lua 5.1 detection on FreeBSD Sep 12, 2025
@dmarker
Copy link

dmarker commented Nov 25, 2025

Confirm that this change allowed lazy to find lua5.1 in :checkhealth after applying patch (provided lang/lua51 is installed of course). Here is the output:

81 - ✅ OK {lua51} Lua 5.1.5  Copyright (C) 1994-2012 Lua.org, PUC-Rio

Can also confirm if you add this to your make.conf(5) and rebuild that lazy will also be happy with devel/lua-luarocks:

devel_lua-luarocks_SET= LUAJIT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants