summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2023-01-08 11:02:21 +0000
committerGitHub <noreply@github.com>2023-01-08 11:02:21 +0000
commitf7644ca8c198bec48eac03860c4adc9b6902de91 (patch)
tree319a84570aa6388f7093c72929889131ea5ac4c7
parentdac15fbb9350ed9aa01248813e7676fb0b4187d5 (diff)
parent960bbc021eb64e68caaf4035b17d2df0e3dcb190 (diff)
Merge pull request #207232 from Izorkin/update-postfix
postfix: build with pcre2
-rw-r--r--pkgs/servers/mail/postfix/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/servers/mail/postfix/default.nix b/pkgs/servers/mail/postfix/default.nix
index 162e80184a92..1093e8a8d1ce 100644
--- a/pkgs/servers/mail/postfix/default.nix
+++ b/pkgs/servers/mail/postfix/default.nix
@@ -1,5 +1,5 @@
{ stdenv, lib, fetchurl, makeWrapper, gnused, db, openssl, cyrus_sasl, libnsl
-, coreutils, findutils, gnugrep, gawk, icu, pcre, m4
+, coreutils, findutils, gnugrep, gawk, icu, pcre2, m4
, fetchpatch
, buildPackages, nixosTests
, withLDAP ? true, openldap
@@ -33,7 +33,7 @@ in stdenv.mkDerivation rec {
};
nativeBuildInputs = [ makeWrapper m4 ];
- buildInputs = [ db openssl cyrus_sasl icu libnsl pcre ]
+ buildInputs = [ db openssl cyrus_sasl icu libnsl pcre2 ]
++ lib.optional withPgSQL postgresql
++ lib.optional withMySQL libmysqlclient
++ lib.optional withSQLite sqlite