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:
parent
9ce350cdcc
commit
a07508c1d3
1 changed files with 2 additions and 1 deletions
|
@ -106,7 +106,7 @@ let
|
||||||
name = "php-with-extensions-${version}";
|
name = "php-with-extensions-${version}";
|
||||||
inherit (php) version;
|
inherit (php) version;
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
passthru = {
|
passthru = php.passthru // {
|
||||||
buildEnv = mkBuildEnv allArgs allExtensionFunctions;
|
buildEnv = mkBuildEnv allArgs allExtensionFunctions;
|
||||||
withExtensions = mkWithExtensions allArgs allExtensionFunctions;
|
withExtensions = mkWithExtensions allArgs allExtensionFunctions;
|
||||||
phpIni = "${phpWithExtensions}/lib/php.ini";
|
phpIni = "${phpWithExtensions}/lib/php.ini";
|
||||||
|
@ -259,6 +259,7 @@ let
|
||||||
passthru = {
|
passthru = {
|
||||||
buildEnv = mkBuildEnv {} [];
|
buildEnv = mkBuildEnv {} [];
|
||||||
withExtensions = mkWithExtensions {} [];
|
withExtensions = mkWithExtensions {} [];
|
||||||
|
inherit ztsSupport;
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
Loading…
Reference in a new issue