Merge pull request #280223 from lblasc/openresty
openresty: 1.21.4.3 -> 1.25.3.1
This commit is contained in:
commit
aae713a4ae
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user