Skip to content

Commit 3e6c133

Browse files
committed
extensions: add xdebug extensions for PHP <= 8.3
1 parent 8db4163 commit 3e6c133

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

pkgs/package-overrides.nix

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,16 @@ in
745745

746746
xdebug =
747747
# xdebug versions were determined using https://xdebug.org/docs/compat
748-
if lib.versionAtLeast prev.php.version "8.0" then
748+
if lib.versionAtLeast prev.php.version "8.3" then
749+
prev.extensions.xdebug.overrideAttrs (attrs: {
750+
name = "xdebug-3.3.0alpha2";
751+
version = "3.3.0alpha2";
752+
src = pkgs.fetchurl {
753+
url = "http://pecl.php.net/get/xdebug-3.3.0alpha2.tgz";
754+
hash = "sha256-wcV71/taOpqs2ckX4vZT1TOWpl1JiP2s6EgPyX9EI6c=";
755+
};
756+
})
757+
else if lib.versionAtLeast prev.php.version "8.0" then
749758
prev.extensions.xdebug
750759
else if lib.versionAtLeast prev.php.version "7.2" then
751760
prev.extensions.xdebug.overrideAttrs (attrs: {

0 commit comments

Comments
 (0)