phpExtensions.xmlrpc: disable on 8.0, as it was unbundeled in that release

This commit is contained in:
ajs124 2021-02-08 04:01:52 +01:00
parent 49f5c89c03
commit 220356309e

View File

@ -508,6 +508,8 @@ lib.makeScope pkgs.newScope (self: with self; {
++ lib.optional (lib.versionOlder php.version "7.4") [ "--with-libxml-dir=${libxml2.dev}" ]; }
{ name = "xmlrpc";
buildInputs = [ libxml2 libiconv ];
# xmlrpc was unbundled in 8.0 https://php.watch/versions/8.0/xmlrpc
enable = lib.versionOlder php.version "8.0";
configureFlags = [ "--with-xmlrpc" ]
# Required to build on darwin.
++ lib.optional (lib.versionOlder php.version "7.4") [ "--with-libxml-dir=${libxml2.dev}" ]; }