summary refs log tree commit diff
path: root/pkgs/top-level/lua-packages.nix
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2018-07-05 23:49:08 +0200
committerPhilipp Gesang <phg@phi-gamma.net>2018-07-07 16:10:31 +0200
commitcc5d2810357d4882b22154aad92f1581076c6b1f (patch)
tree1340894e37de4c8bcb33be5bff29cae330c7f7c8 /pkgs/top-level/lua-packages.nix
parente691c8e97ca02212d93b20e67996e30360805d1d (diff)
downloadnixpkgs-cc5d2810357d4882b22154aad92f1581076c6b1f.tar
nixpkgs-cc5d2810357d4882b22154aad92f1581076c6b1f.tar.gz
nixpkgs-cc5d2810357d4882b22154aad92f1581076c6b1f.tar.bz2
nixpkgs-cc5d2810357d4882b22154aad92f1581076c6b1f.tar.lz
nixpkgs-cc5d2810357d4882b22154aad92f1581076c6b1f.tar.xz
nixpkgs-cc5d2810357d4882b22154aad92f1581076c6b1f.tar.zst
nixpkgs-cc5d2810357d4882b22154aad92f1581076c6b1f.zip
lua-packages: define lua53Packages
Set up lua packages for the v5.3.x interpreter.

Blacklist the set of lua-packages (luabitop, luaexpat, luazip,
luasqlite3) whose compilation fails against 5.3.4. The rest are at least
building.

Signed-off-by: Philipp Gesang <phg@phi-gamma.net>
Diffstat (limited to 'pkgs/top-level/lua-packages.nix')
-rw-r--r--pkgs/top-level/lua-packages.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/top-level/lua-packages.nix b/pkgs/top-level/lua-packages.nix
index 311bb1eb63f..8f109c0fcb7 100644
--- a/pkgs/top-level/lua-packages.nix
+++ b/pkgs/top-level/lua-packages.nix
@@ -83,6 +83,8 @@ let
 
     buildFlags = stdenv.lib.optionalString stdenv.isDarwin "macosx";
 
+    disabled = isLua53;
+
     postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
       substituteInPlace Makefile --replace 10.4 10.5
     '';
@@ -220,7 +222,7 @@ let
         EXPAT_INC="-I${expat.dev}/include");
     '';
 
-    disabled = isLuaJIT;
+    disabled = isLua53 || isLuaJIT;
 
     meta = with stdenv.lib; {
       description = "SAX XML parser based on the Expat library";
@@ -500,7 +502,7 @@ let
     patches = [ ../development/lua-modules/zip.patch ];
 
     # Does not currently work under Lua 5.2 or LuaJIT.
-    disabled = isLua52 || isLuaJIT;
+    disabled = isLua52 || isLua53 || isLuaJIT;
 
     meta = with stdenv.lib; {
       description = "Lua library to read files stored inside zip files";
@@ -621,6 +623,8 @@ let
       sha256 = "05k8zs8nsdmlwja3hdhckwknf7ww5cvbp3sxhk2xd1i3ij6aa10b";
     };
 
+    disabled = isLua53;
+
     buildInputs = [ sqlite ];
 
     patches = [ ../development/lua-modules/luasql.patch ];