mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
luaPackages.luarocks_bootstrap: properly configure luarocks to set LUA_LIBDIR
This commit is contained in:
parent
662aab8cd3
commit
b78dd5d217
1 changed files with 4 additions and 0 deletions
|
|
@ -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 = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue