diff options
author | ajs124 <git@ajs124.de> | 2021-02-08 04:01:52 +0100 |
---|---|---|
committer | ajs124 <git@ajs124.de> | 2021-02-08 16:07:24 +0100 |
commit | 220356309e543f99cd6edc975c2c142877411a27 (patch) | |
tree | e022f6df9256a51ad529cea8bbcdf92538c861f7 /pkgs/top-level/php-packages.nix | |
parent | 49f5c89c039a1f1a81aa646806fb91cfb6ad1720 (diff) |
phpExtensions.xmlrpc: disable on 8.0, as it was unbundeled in that release
Diffstat (limited to 'pkgs/top-level/php-packages.nix')
-rw-r--r-- | pkgs/top-level/php-packages.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix index 932c2a867f028..0e081ad8eb746 100644 --- a/pkgs/top-level/php-packages.nix +++ b/pkgs/top-level/php-packages.nix @@ -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}" ]; } |