mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
php: add option config.php.systemd
This commit is contained in:
parent
35eb1c21dc
commit
9c5311251a
@ -13,6 +13,7 @@ let
|
||||
{ version
|
||||
, sha256
|
||||
, extraPatches ? []
|
||||
, withSystemd ? config.php.systemd or stdenv.isLinux
|
||||
, imapSupport ? config.php.imap or (!stdenv.isDarwin)
|
||||
, ldapSupport ? config.php.ldap or true
|
||||
, mhashSupport ? config.php.mhash or true
|
||||
@ -68,7 +69,7 @@ let
|
||||
|
||||
nativeBuildInputs = [ pkgconfig autoconf ];
|
||||
buildInputs = [ flex bison pcre ]
|
||||
++ optional stdenv.isLinux systemd
|
||||
++ optional withSystemd systemd
|
||||
++ optionals imapSupport [ uwimap openssl pam ]
|
||||
++ optionals curlSupport [ curl openssl ]
|
||||
++ optionals ldapSupport [ openldap openssl ]
|
||||
@ -105,7 +106,7 @@ let
|
||||
"--with-pcre-regex=${pcre.dev} PCRE_LIBDIR=${pcre}"
|
||||
]
|
||||
++ optional stdenv.isDarwin "--with-iconv=${libiconv}"
|
||||
++ optional stdenv.isLinux "--with-fpm-systemd"
|
||||
++ optional withSystemd "--with-fpm-systemd"
|
||||
++ optionals imapSupport [
|
||||
"--with-imap=${uwimap}"
|
||||
"--with-imap-ssl"
|
||||
|
@ -7859,12 +7859,14 @@ in
|
||||
php71-unit = php71.override {
|
||||
config.php.embed = true;
|
||||
config.php.apxs2 = false;
|
||||
config.php.systemd = false;
|
||||
config.php.fpm = false;
|
||||
};
|
||||
|
||||
php72-unit = php72.override {
|
||||
config.php.embed = true;
|
||||
config.php.apxs2 = false;
|
||||
config.php.systemd = false;
|
||||
config.php.fpm = false;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user