about summary refs log tree commit diff
path: root/pkgs/top-level
diff options
context:
space:
mode:
authorPol Dellaiera <pol.dellaiera@protonmail.com>2024-03-11 22:14:14 +0100
committerGitHub <noreply@github.com>2024-03-11 22:14:14 +0100
commite60561eb6e78589ab7b8f813102cb10ebfed4a4b (patch)
tree41d0173b46b3d56265ed4134cc08647aede13b00 /pkgs/top-level
parentbf8462aeba50cc753971480f613fbae0747cffc0 (diff)
parentcb4d58b28dd71a88992db94a9471ad5159fdbb4d (diff)
downloadnixlib-e60561eb6e78589ab7b8f813102cb10ebfed4a4b.tar
nixlib-e60561eb6e78589ab7b8f813102cb10ebfed4a4b.tar.gz
nixlib-e60561eb6e78589ab7b8f813102cb10ebfed4a4b.tar.bz2
nixlib-e60561eb6e78589ab7b8f813102cb10ebfed4a4b.tar.lz
nixlib-e60561eb6e78589ab7b8f813102cb10ebfed4a4b.tar.xz
nixlib-e60561eb6e78589ab7b8f813102cb10ebfed4a4b.tar.zst
nixlib-e60561eb6e78589ab7b8f813102cb10ebfed4a4b.zip
Merge pull request #295056 from drupol/php/extensions/dom/fix-lower-bounds-part2
phpExtensions.dom: update bounds for PHP82 and PHP81
Diffstat (limited to 'pkgs/top-level')
-rw-r--r--pkgs/top-level/php-packages.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix
index fe1c743d51c8..e8144409ba12 100644
--- a/pkgs/top-level/php-packages.nix
+++ b/pkgs/top-level/php-packages.nix
@@ -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 {