mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
[Backport release-24.11] nginx: upgrade pcre to pcre2 (#357304)
This commit is contained in:
commit
0c50b1f9ec
@ -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
|
||||
|
||||
, nixosTests
|
||||
@ -66,7 +66,7 @@ stdenv.mkDerivation {
|
||||
removeReferencesTo
|
||||
] ++ nativeBuildInputs;
|
||||
|
||||
buildInputs = [ openssl zlib pcre libxml2 libxslt perl ]
|
||||
buildInputs = [ openssl zlib pcre2 libxml2 libxslt perl ]
|
||||
++ buildInputs
|
||||
++ mapModules "inputs"
|
||||
++ lib.optional withGeoIP geoip
|
||||
|
@ -10,12 +10,12 @@
|
||||
|
||||
callPackage ../nginx/generic.nix args rec {
|
||||
pname = "openresty";
|
||||
nginxVersion = "1.25.3";
|
||||
version = "${nginxVersion}.2";
|
||||
nginxVersion = "1.27.1";
|
||||
version = "${nginxVersion}.1";
|
||||
|
||||
src = fetchurl {
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user