Merge pull request #207232 from Izorkin/update-postfix

postfix: build with pcre2
This commit is contained in:
Sergei Trofimovich 2023-01-08 11:02:21 +00:00 committed by GitHub
commit f7644ca8c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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