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}";
|
||||
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; {
|
||||
|
|
Loading…
Reference in a new issue