Merge pull request #193925 from drupol/php/enable-imap-ext
php: enable `imap` extension by default
This commit is contained in:
@@ -21,6 +21,7 @@ base.withExtensions ({ all, ... }: with all; ([
|
||||
gettext
|
||||
gmp
|
||||
iconv
|
||||
imap
|
||||
intl
|
||||
ldap
|
||||
mbstring
|
||||
@@ -49,4 +50,4 @@ base.withExtensions ({ all, ... }: with all; ([
|
||||
xmlwriter
|
||||
zip
|
||||
zlib
|
||||
] ++ lib.optionals (!stdenv.isDarwin) [ imap ]))
|
||||
]))
|
||||
|
||||
@@ -21,6 +21,7 @@ base.withExtensions ({ all, ... }: with all; ([
|
||||
gettext
|
||||
gmp
|
||||
iconv
|
||||
imap
|
||||
intl
|
||||
ldap
|
||||
mbstring
|
||||
@@ -49,4 +50,4 @@ base.withExtensions ({ all, ... }: with all; ([
|
||||
xmlwriter
|
||||
zip
|
||||
zlib
|
||||
] ++ lib.optionals (!stdenv.isDarwin) [ imap ]))
|
||||
]))
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
, libffi
|
||||
, libiconv
|
||||
, libjpeg
|
||||
, libkrb5
|
||||
, libpng
|
||||
, libsodium
|
||||
, libwebp
|
||||
@@ -342,10 +343,8 @@ lib.makeScope pkgs.newScope (self: with self; {
|
||||
}
|
||||
{
|
||||
name = "imap";
|
||||
buildInputs = [ uwimap openssl pam pcre2 ];
|
||||
configureFlags = [ "--with-imap=${uwimap}" "--with-imap-ssl" ];
|
||||
# uwimap doesn't build on darwin.
|
||||
enable = (!stdenv.isDarwin);
|
||||
buildInputs = [ uwimap openssl pam pcre2 libkrb5 ];
|
||||
configureFlags = [ "--with-imap=${uwimap}" "--with-imap-ssl" "--with-kerberos" ];
|
||||
}
|
||||
{
|
||||
name = "intl";
|
||||
|
||||
Reference in New Issue
Block a user