Merge pull request #242458 from fgaz/minetest/luajit-where-supported
minetest: use lua5_1 if luajit is not supported
This commit is contained in:
commit
65b7af41bf
1 changed files with 3 additions and 1 deletions
|
@ -14,6 +14,7 @@
|
||||||
, openal
|
, openal
|
||||||
, libvorbis
|
, libvorbis
|
||||||
, sqlite
|
, sqlite
|
||||||
|
, lua5_1
|
||||||
, luajit
|
, luajit
|
||||||
, freetype
|
, freetype
|
||||||
, gettext
|
, gettext
|
||||||
|
@ -93,8 +94,9 @@ let
|
||||||
nativeBuildInputs = [ cmake doxygen graphviz ninja ];
|
nativeBuildInputs = [ cmake doxygen graphviz ninja ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
irrlichtmtInput luajit jsoncpp gettext freetype sqlite curl bzip2 ncurses
|
irrlichtmtInput jsoncpp gettext freetype sqlite curl bzip2 ncurses
|
||||||
gmp libspatialindex
|
gmp libspatialindex
|
||||||
|
] ++ [ (if lib.meta.availableOn stdenv.hostPlatform luajit then luajit else lua5_1) ] ++ [
|
||||||
] ++ optionals stdenv.isDarwin [
|
] ++ optionals stdenv.isDarwin [
|
||||||
libiconv OpenGL OpenAL Carbon Cocoa
|
libiconv OpenGL OpenAL Carbon Cocoa
|
||||||
] ++ optionals buildClient [
|
] ++ optionals buildClient [
|
||||||
|
|
Loading…
Reference in a new issue