diff options
author | Francesco Gazzetta <fgaz@fgaz.me> | 2023-07-09 13:10:19 +0200 |
---|---|---|
committer | Francesco Gazzetta <fgaz@fgaz.me> | 2023-07-09 13:10:19 +0200 |
commit | 9dad8416be218ad1f667452b4bd766637054755a (patch) | |
tree | 0380f2f36e2da045a4430be24f470eeceb657da9 /pkgs/games/minetest | |
parent | f6dc216ee26c2e92558992074c81148f7f500ba3 (diff) |
minetest: use lua5_1 if luajit is not supported
Diffstat (limited to 'pkgs/games/minetest')
-rw-r--r-- | pkgs/games/minetest/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/games/minetest/default.nix b/pkgs/games/minetest/default.nix index 0f645ce379671..550f088e8af03 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 [ |