about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPol Dellaiera <pol.dellaiera@protonmail.com>2024-05-17 21:56:31 +0200
committerGitHub <noreply@github.com>2024-05-17 21:56:31 +0200
commit244f3ca611b0fc471c215c0855f2e17f8ac2632b (patch)
tree224f3a39fc8db661d0193661271bd0c498e8060d
parent3e08211f7980959cee900f091f01d6fc1a7d2be3 (diff)
parent07849edcfa6ad4a9cbb34fa31bd68cd65539b40d (diff)
Merge pull request #311686 from patka-123/fix-zend-test
phpExtensions.zend_test: fix build
-rw-r--r--pkgs/top-level/php-packages.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix
index 6a5e16185601b..c53789ca10fc1 100644
--- a/pkgs/top-level/php-packages.nix
+++ b/pkgs/top-level/php-packages.nix
@@ -674,7 +674,11 @@ in {
           env.NIX_CFLAGS_COMPILE = toString [ "-I../.." "-DHAVE_DOM" ];
           configureFlags = [ "--with-xsl=${libxslt.dev}" ];
         }
-        { name = "zend_test"; }
+        {
+          name = "zend_test";
+          internalDeps = [ php.extensions.dom ];
+          env.NIX_CFLAGS_COMPILE = "-I${libxml2.dev}/include/libxml2";
+        }
         {
           name = "zip";
           buildInputs = [ libzip pcre2 ];