php.extensions.xmlreader: Add internal dependency on dom

This commit is contained in:
talyz 2021-01-30 16:22:11 +01:00
parent d6d4228b39
commit 6c32f248d0
No known key found for this signature in database
GPG key ID: 2DED2151F4671A2B

View file

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