php80Extensions.xmlreader: fix build

(cherry picked from commit cede244af9)
main
ajs124 3 years ago committed by Pol Dellaiera
parent 3d3479f717
commit 4e9870ffa2
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA
  1. 1
      pkgs/top-level/php-packages.nix

@ -565,6 +565,7 @@ lib.makeScope pkgs.newScope (self: with self; {
buildInputs = [ libxml2 ];
internalDeps = [ php.extensions.dom ];
NIX_CFLAGS_COMPILE = [ "-I../.." "-DHAVE_DOM" ];
doCheck = false;
configureFlags = [ "--enable-xmlreader" ]
# Required to build on darwin.
++ lib.optionals (lib.versionOlder php.version "7.4") [ "--with-libxml-dir=${libxml2.dev}" ];

Loading…
Cancel
Save