mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 07:27:27 +00:00
minetest: use lua5_1 if luajit is not supported
This commit is contained in:
parent
f6dc216ee2
commit
9dad8416be
@ -14,6 +14,7 @@
|
||||
, openal
|
||||
, libvorbis
|
||||
, sqlite
|
||||
, lua5_1
|
||||
, luajit
|
||||
, freetype
|
||||
, gettext
|
||||
@ -93,8 +94,9 @@ let
|
||||
nativeBuildInputs = [ cmake doxygen graphviz ninja ];
|
||||
|
||||
buildInputs = [
|
||||
irrlichtmtInput luajit jsoncpp gettext freetype sqlite curl bzip2 ncurses
|
||||
irrlichtmtInput jsoncpp gettext freetype sqlite curl bzip2 ncurses
|
||||
gmp libspatialindex
|
||||
] ++ [ (if lib.meta.availableOn stdenv.hostPlatform luajit then luajit else lua5_1) ] ++ [
|
||||
] ++ optionals stdenv.isDarwin [
|
||||
libiconv OpenGL OpenAL Carbon Cocoa
|
||||
] ++ optionals buildClient [
|
||||
|
Loading…
Reference in New Issue
Block a user