3
0
Fork 0
forked from mirrors/nixpkgs

phpPackages.xdebug: fix build with php73

This commit is contained in:
Izorkin 2018-12-10 21:22:32 +03:00 committed by Franz Pletz
parent b0b623e034
commit 43b2734f53
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -145,7 +145,9 @@ let
sha256 = "0d4p1gpl8gkzdiv860qzxfz250ryf0wmjgyc8qcaaqgkdyh5jy5p";
};
xdebug = buildPecl {
xdebug = if isPhp73 then xdebug73 else xdebug7;
xdebug7 = assert !isPhp73; buildPecl {
name = "xdebug-2.6.1";
sha256 = "0xxxy6n4lv7ghi9liqx133yskg07lw316vhcds43n1sjq3b93rns";
@ -154,6 +156,15 @@ let
checkTarget = "test";
};
xdebug73 = assert isPhp73; buildPecl {
name = "xdebug-2.7.0beta1";
sha256 = "1ghh14z55l4jklinkgjkfhkw53lp2r7lgmyh7q8kdnf7jnpwx84h";
doCheck = true;
checkTarget = "test";
};
yaml = buildPecl {
name = "yaml-2.0.4";