luajit: 2.1.0-beta2 -> 2.1.0-beta3

The removal of `luaL_reg` alias caused lots of breakage.
Only sysdig and knot-resolver needed (also) other changes.
This commit is contained in:
Vladimír Čunát
2017-05-02 13:47:36 +02:00
parent 9ad1aaae53
commit d7501b986a
8 changed files with 25 additions and 3 deletions

View File

@@ -25,6 +25,12 @@ stdenv.mkDerivation rec {
"-DSYSDIG_VERSION=${version}"
] ++ optional (kernel == null) "-DBUILD_DRIVER=OFF";
# needed since luajit-2.1.0-beta3
NIX_CFLAGS_COMPILE = [
"-DluaL_reg=luaL_Reg"
"-DluaL_getn(L,i)=((int)lua_objlen(L,i))"
];
preConfigure = ''
export INSTALL_MOD_PATH="$out"
'' + optionalString (kernel != null) ''