php: declare ZTS support

Binary extensions like Blackfire need to know whether PHP was
compiled with ZTS support to work properly.
This commit is contained in:
Jan Tojnar 2020-10-04 13:00:23 +02:00
parent 9ce350cdcc
commit a07508c1d3
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -106,7 +106,7 @@ let
name = "php-with-extensions-${version}";
inherit (php) version;
nativeBuildInputs = [ makeWrapper ];
passthru = {
passthru = php.passthru // {
buildEnv = mkBuildEnv allArgs allExtensionFunctions;
withExtensions = mkWithExtensions allArgs allExtensionFunctions;
phpIni = "${phpWithExtensions}/lib/php.ini";
@ -259,6 +259,7 @@ let
passthru = {
buildEnv = mkBuildEnv {} [];
withExtensions = mkWithExtensions {} [];
inherit ztsSupport;
};
meta = with stdenv.lib; {