luaPackages.luarocks_bootstrap: properly configure luarocks to set LUA_LIBDIR

This commit is contained in:
Birdee 2026-05-10 16:47:11 -07:00 committed by Matthieu Coudron
commit b78dd5d217

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 = [