fix(overlay): remove the weird lua_no_readline overlay

It's not a proper overlay because it breaks the splicing for luaOnBuild
and therefore breaks the rest.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
Raito Bezarius 2024-08-23 21:55:49 +02:00
parent 46217b24a3
commit 0813d09fde

View file

@ -4,19 +4,20 @@ let
inherit (final) lib callPackage; inherit (final) lib callPackage;
}; };
inherit (final) fetchpatch; inherit (final) fetchpatch;
lua_no_readline = prev.lua5_3.overrideAttrs(o: { lua_no_readline = prev.lua5_3;
name = "lua-tty"; # lua_no_readline = prev.lua5_3.overrideAttrs(o: {
preBuild = '' # name = "lua-tty";
makeFlagsArray+=(PLAT="posix" SYSLIBS="-Wl,-E -ldl" CFLAGS="-O2 -fPIC -DLUA_USE_POSIX -DLUA_USE_DLOPEN") # preBuild = ''
''; # makeFlagsArray+=(PLAT="posix" SYSLIBS="-Wl,-E -ldl" CFLAGS="-O2 -fPIC -DLUA_USE_POSIX -DLUA_USE_DLOPEN")
# lua in nixpkgs has a postInstall stanza that assumes only # '';
# one output, we need to override that if we're going to # # lua in nixpkgs has a postInstall stanza that assumes only
# convert to multi-output # # one output, we need to override that if we're going to
# outputs = ["bin" "man" "out"]; # # convert to multi-output
makeFlags = # # outputs = ["bin" "man" "out"];
builtins.filter (x: (builtins.match "(PLAT|MYLIBS).*" x) == null) # makeFlags =
o.makeFlags; # builtins.filter (x: (builtins.match "(PLAT|MYLIBS).*" x) == null)
}); # o.makeFlags;
# });
s6 = prev.s6.overrideAttrs(o: s6 = prev.s6.overrideAttrs(o:
let let