php: declare ZTS support

Binary extensions like Blackfire need to know whether PHP was
compiled with ZTS support to work properly.
wip/yesman
Jan Tojnar 4 years ago
parent 9ce350cdcc
commit a07508c1d3
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
  1. 3
      pkgs/development/interpreters/php/default.nix

@ -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…
Cancel
Save