From 06b9024cc001fe8b1d4306808bc93432ba0a6cd8 Mon Sep 17 00:00:00 2001 From: Elliot Cameron Date: Thu, 14 Nov 2024 15:07:36 -0500 Subject: [PATCH] nginx: upgrade pcre to pcre2 Nginx builds with pcre2 by default as of version 1.21.5. --- pkgs/servers/http/nginx/generic.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/http/nginx/generic.nix b/pkgs/servers/http/nginx/generic.nix index 266c09755ab0..a9346c8e0fa2 100644 --- a/pkgs/servers/http/nginx/generic.nix +++ b/pkgs/servers/http/nginx/generic.nix @@ -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