luaPackages.luarocks_bootstrap: properly configure luarocks to set LUA_LIBDIR (#518885)

This commit is contained in:
Matthieu Coudron 2026-05-11 22:24:25 +00:00 committed by GitHub
commit c313740449
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -58,6 +58,10 @@ stdenv.mkDerivation (finalAttrs: {
if test -n "$lua_inc"; then
appendToVar configureFlags "--with-lua-include=$lua_inc"
fi
lua_lib="${lua}/lib"
if test -d "$lua_lib"; then
appendToVar configureFlags "--with-lua-lib=$lua_lib"
fi
'';
nativeBuildInputs = [