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