fix: move from lua 5.3 to lua 5.2
Some checks failed
build liminix / build_zyxel-nwa50ax_mips (pull_request) Successful in 30s
build liminix / test_hostapd (pull_request) Failing after 51s
build liminix / build_vm_qemu_mips (pull_request) Successful in 1m2s
build liminix / test_shell_customization (pull_request) Failing after 1m4s

otherwise, luabit will not build
This commit is contained in:
soyouzpanda 2025-03-15 10:43:55 +01:00
parent 78476aa743
commit 99b2258f4e
Signed by: ecoppens
GPG key ID: 871893E37A732093

View file

@ -6,7 +6,7 @@ let
inherit (final) lib callPackage;
};
inherit (final) fetchpatch;
luaHost = prev.lua5_3.overrideAttrs(o: {
luaHost = prev.lua5_2.overrideAttrs(o: {
name = "lua-tty";
preBuild = ''
makeFlagsArray+=(PLAT="posix" SYSLIBS="-Wl,-E -ldl" CFLAGS="-O2 -fPIC -DLUA_USE_POSIX -DLUA_USE_DLOPEN")
@ -245,7 +245,7 @@ extraPkgs // {
];
});
lua = crossOnly prev.lua5_3 (_: luaHost);
lua = crossOnly prev.lua5_2 (_: luaHost);
mtdutils = prev.mtdutils.overrideAttrs(o: {
patches = (if o ? patches then o.patches else []) ++ [