Closed nabato closed 1 year ago
It's been a while since I've used Lua myself. Are you saying these need to be set for the Lua install? Or are you saying these variables should be set when running commands from the Lua install (e.g. lua
, luarocks
, etc...)?
@Stratus3D, basically some applications like awesome-wm
search for LUA_DIR
during installation to access its lib
and include
directories. I honestly don't know how often it's needed for other applications, but googling reveals it's a problem not only for awesome-wm
.
P.S. Changed description to LUA_DIR
because less changes are required.
asdf isn't setup to define environment variables for commands outside of asdf. You'll probably need to define it manually in whatever environments you want it set it. Something like this might work:
export LUA_DIR=$(asdf where lua)/lib
# invoke awesome-wm or whatever
Hope this helps.
Already did something like this. Thank you.
Thank you for your work. Very handy plugin.
It would be great to add
LUA_DIR
environment variable during installation (optionallyLUA_LIBRARIES
andLUA_INCLUDE_DIR
butLUA_DIR
should be enough) and update them every time during language version switch.