postfix: build with pcre2

This commit is contained in:
Izorkin 2022-12-22 14:38:58 +03:00
parent ff08a6db69
commit 960bbc021e
No known key found for this signature in database
GPG key ID: 1436C1B3F3679F09

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