diff --git a/pkgs/games/minetest/default.nix b/pkgs/games/minetest/default.nix index 0f645ce37967..550f088e8af0 100644 --- a/pkgs/games/minetest/default.nix +++ b/pkgs/games/minetest/default.nix @@ -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 [