diff options
author | talyz <kim.lindberger@gmail.com> | 2020-04-24 13:29:46 +0200 |
---|---|---|
committer | talyz <kim.lindberger@gmail.com> | 2020-04-26 16:43:23 +0200 |
commit | 72636bc2f6321e5e25414904685ba9fbabbbfb56 (patch) | |
tree | eeed3af04ca76687d5c902d757b2d4f7c65282e1 /pkgs/development/interpreters/php | |
parent | 2ba79269590cd186c3ad6e5226c4322de8984d87 (diff) | |
download | nixlib-72636bc2f6321e5e25414904685ba9fbabbbfb56.tar nixlib-72636bc2f6321e5e25414904685ba9fbabbbfb56.tar.gz nixlib-72636bc2f6321e5e25414904685ba9fbabbbfb56.tar.bz2 nixlib-72636bc2f6321e5e25414904685ba9fbabbbfb56.tar.lz nixlib-72636bc2f6321e5e25414904685ba9fbabbbfb56.tar.xz nixlib-72636bc2f6321e5e25414904685ba9fbabbbfb56.tar.zst nixlib-72636bc2f6321e5e25414904685ba9fbabbbfb56.zip |
php: Get rid of all config.php parameters
Since all options controlled by the config.php parameters can now be overridden directly, there's no reason to keep them around.
Diffstat (limited to 'pkgs/development/interpreters/php')
-rw-r--r-- | pkgs/development/interpreters/php/default.nix | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/pkgs/development/interpreters/php/default.nix b/pkgs/development/interpreters/php/default.nix index 2313f9fbcc48..33071b06d956 100644 --- a/pkgs/development/interpreters/php/default.nix +++ b/pkgs/development/interpreters/php/default.nix @@ -17,23 +17,22 @@ let , defaultPhpExtensions # Sapi flags - , cgiSupport ? config.php.cgi or true - , cliSupport ? config.php.cli or true - , fpmSupport ? config.php.fpm or true - , pearSupport ? config.php.pear or true - , pharSupport ? config.php.phar or true - , phpdbgSupport ? config.php.phpdbg or true - + , cgiSupport ? true + , cliSupport ? true + , fpmSupport ? true + , pearSupport ? true + , pharSupport ? true + , phpdbgSupport ? true # Misc flags - , apxs2Support ? config.php.apxs2 or (!stdenv.isDarwin) - , argon2Support ? config.php.argon2 or true - , cgotoSupport ? config.php.cgoto or false - , embedSupport ? config.php.embed or false - , ipv6Support ? config.php.ipv6 or true - , systemdSupport ? config.php.systemd or stdenv.isLinux - , valgrindSupport ? config.php.valgrind or true - , ztsSupport ? (config.php.zts or false) || (apxs2Support) + , apxs2Support ? !stdenv.isDarwin + , argon2Support ? true + , cgotoSupport ? false + , embedSupport ? false + , ipv6Support ? true + , systemdSupport ? stdenv.isLinux + , valgrindSupport ? true + , ztsSupport ? apxs2Support }@args: let self = generic args; |