chore(nginx): lua-resty-core overlay unneeded

This commit is contained in:
arcnmx 2024-04-27 12:01:33 -07:00
parent 598d190084
commit f05b50b53e

View file

@ -1,13 +1,15 @@
final: prev: let final: prev: let
inherit (final) lib; inherit (final) lib;
luaOverlay = luafinal: luaprev: { luaOverlay = luafinal: luaprev: let
lua-resty-core = luaprev.lua-resty-core.overrideAttrs (old: rec { mkRestyCore = { nixpkgsVersion, version, sha256 }: luaprev.lua-resty-core.overrideAttrs (old: {
version = lib.warnIf (old.version != "0.1.24") "lua-resty-core updated upstream" "0.1.28"; version = lib.warnIf (old.version != nixpkgsVersion) "lua-resty-core updated upstream" version;
src = old.src.override { src = old.src.override {
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-RJ2wcHTu447wM0h1fa2qCBl4/p9XL6ZqX9pktRW64RI="; inherit sha256;
}; };
}); });
in {
#lua-resty-core = mkRestyCore { nixpkgsVersion = "0.1.24"; version = "0.1.28"; sha256 = "sha256-RJ2wcHTu447wM0h1fa2qCBl4/p9XL6ZqX9pktRW64RI="; };
}; };
in { in {
nginxModules = prev.nginxModules // { nginxModules = prev.nginxModules // {