phpExtensions.dom: update bounds for PHP82 and PHP81

This commit is contained in:
Pol Dellaiera
2024-03-11 17:49:29 +01:00
parent 9336998b51
commit cb4d58b28d
+1 -1
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.27") [
patches = lib.optionals ((lib.versions.majorMinor php.version == "8.2" && lib.versionOlder php.version "8.2.14" && lib.versionAtLeast php.version "8.2.7") || (lib.versions.majorMinor php.version == "8.1" && lib.versionAtLeast php.version "8.1.27")) [
# Fix tests with libxml 2.12
# Part of 8.3.1RC1+, 8.2.14RC1+
(fetchpatch {