nginx: upgrade pcre to pcre2 (#355989)
This commit is contained in:
commit
fc1a0e3323
@ -1,4 +1,4 @@
|
|||||||
outer@{ lib, stdenv, fetchurl, fetchpatch, openssl, zlib, pcre, libxml2, libxslt
|
outer@{ lib, stdenv, fetchurl, fetchpatch, openssl, zlib, pcre2, libxml2, libxslt
|
||||||
, nginx-doc
|
, nginx-doc
|
||||||
|
|
||||||
, nixosTests
|
, nixosTests
|
||||||
@ -66,7 +66,7 @@ stdenv.mkDerivation {
|
|||||||
removeReferencesTo
|
removeReferencesTo
|
||||||
] ++ nativeBuildInputs;
|
] ++ nativeBuildInputs;
|
||||||
|
|
||||||
buildInputs = [ openssl zlib pcre libxml2 libxslt perl ]
|
buildInputs = [ openssl zlib pcre2 libxml2 libxslt perl ]
|
||||||
++ buildInputs
|
++ buildInputs
|
||||||
++ mapModules "inputs"
|
++ mapModules "inputs"
|
||||||
++ lib.optional withGeoIP geoip
|
++ lib.optional withGeoIP geoip
|
||||||
|
@ -10,12 +10,12 @@
|
|||||||
|
|
||||||
callPackage ../nginx/generic.nix args rec {
|
callPackage ../nginx/generic.nix args rec {
|
||||||
pname = "openresty";
|
pname = "openresty";
|
||||||
nginxVersion = "1.25.3";
|
nginxVersion = "1.27.1";
|
||||||
version = "${nginxVersion}.2";
|
version = "${nginxVersion}.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://openresty.org/download/openresty-${version}.tar.gz";
|
url = "https://openresty.org/download/openresty-${version}.tar.gz";
|
||||||
sha256 = "sha256-LVZAIrBuM7Rfflz68eXcVx041hgDr5+idU3/81PCjZw=";
|
sha256 = "sha256-ebBx4nvcFD1fQB0Nv1BN5EIAcNhnU4xe3CVG0DUf1cA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# generic.nix applies fixPatch on top of every patch defined there.
|
# generic.nix applies fixPatch on top of every patch defined there.
|
||||||
|
Loading…
Reference in New Issue
Block a user