From d4ebb89ef02670f5b34f5d27f7b09982197971ec Mon Sep 17 00:00:00 2001 From: Luka Blaskovic Date: Thu, 11 Jan 2024 09:06:46 +0000 Subject: [PATCH] openresty: 1.21.4.3 -> 1.25.3.1 --- pkgs/servers/http/openresty/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/servers/http/openresty/default.nix b/pkgs/servers/http/openresty/default.nix index 87cd8e4c53e3..cd28667331de 100644 --- a/pkgs/servers/http/openresty/default.nix +++ b/pkgs/servers/http/openresty/default.nix @@ -10,12 +10,12 @@ callPackage ../nginx/generic.nix args rec { pname = "openresty"; - nginxVersion = "1.21.4"; - version = "${nginxVersion}.3"; + nginxVersion = "1.25.3"; + version = "${nginxVersion}.1"; src = fetchurl { url = "https://openresty.org/download/openresty-${version}.tar.gz"; - sha256 = "sha256-M6hMY8/Z5GsOXGLrLdx7gGi9ouFoYxQ0O4n8P/0kzdM="; + sha256 = "sha256-MuwaJTpaEyUDVaB1/mW31j7EXFYLviEzUPCZKlfNed8="; }; # generic.nix applies fixPatch on top of every patch defined there. @@ -40,7 +40,8 @@ callPackage ../nginx/generic.nix args rec { configureFlags = [ "--with-http_postgres_module" ]; postInstall = '' - ln -s $out/luajit/bin/luajit-2.1.0-beta3 $out/bin/luajit-openresty + ln -s $out/luajit/bin/luajit-2.1.ROLLING $out/bin/luajit-openresty + ln -sf $out/nginx/bin/nginx $out/bin/openresty ln -s $out/nginx/bin/nginx $out/bin/nginx ln -s $out/nginx/conf $out/conf ln -s $out/nginx/html $out/html