phpExtensions.dom: fix lowest extensions

This commit is contained in:
Pol Dellaiera 2024-03-11 16:21:25 +01:00
parent fc405ec2d8
commit 47195dc3d9
No known key found for this signature in database
GPG key ID: D476DFE9C67467CA

View file

@ -372,7 +372,7 @@ lib.makeScope pkgs.newScope (self: with self; {
"--enable-dom"
];
# Add a PHP lower version bound constraint to avoid applying the patch on older PHP versions.
patches = lib.optionals (lib.versionOlder php.version "8.2.14" && lib.versionAtLeast php.version "8.1") [
patches = lib.optionals (lib.versionOlder php.version "8.2.14" && lib.versionAtLeast php.version "8.1.27") [
# Fix tests with libxml 2.12
# Part of 8.3.1RC1+, 8.2.14RC1+
(fetchpatch {