forked from DGNum/liminix
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:
parent
46217b24a3
commit
0813d09fde
1 changed files with 14 additions and 13 deletions
27
overlay.nix
27
overlay.nix
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue