1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

php: add option config.php.xmlrpc

This commit is contained in:
Izorkin 2018-12-14 10:56:46 +03:00
parent bd850ff624
commit 535b6298c7

View file

@ -56,6 +56,7 @@ let
, cgiSupport ? config.php.cgi or true
, cliSupport ? config.php.cli or true
, pharSupport ? config.php.phar or true
, xmlrpcSupport ? (config.php.xmlrpc or false) && (libxml2Support)
}:
let
@ -178,7 +179,8 @@ let
++ optional (!phpdbgSupport) "--disable-phpdbg"
++ optional (!cgiSupport) "--disable-cgi"
++ optional (!cliSupport) "--disable-cli"
++ optional (!pharSupport) "--disable-phar";
++ optional (!pharSupport) "--disable-phar"
++ optional xmlrpcSupport "--with-xmlrpc";
hardeningDisable = [ "bindnow" ];