php: tidySupport option
This commit is contained in:
parent
df6534d04a
commit
d553331b9d
@ -4,7 +4,7 @@
|
|||||||
, mysql, libxml2, readline, zlib, curl, postgresql, gettext
|
, mysql, libxml2, readline, zlib, curl, postgresql, gettext
|
||||||
, openssl, pcre, pkgconfig, sqlite, config, libjpeg, libpng, freetype
|
, openssl, pcre, pkgconfig, sqlite, config, libjpeg, libpng, freetype
|
||||||
, libxslt, libmcrypt, bzip2, icu, openldap, cyrus_sasl, libmhash, freetds
|
, libxslt, libmcrypt, bzip2, icu, openldap, cyrus_sasl, libmhash, freetds
|
||||||
, uwimap, pam, gmp, apacheHttpd, libiconv, systemd, libsodium }:
|
, uwimap, pam, gmp, apacheHttpd, libiconv, systemd, libsodium, libtidy }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
@ -230,6 +230,11 @@ let
|
|||||||
configureFlags = ["--with-sodium=${libsodium.dev}"];
|
configureFlags = ["--with-sodium=${libsodium.dev}"];
|
||||||
buildInputs = [libsodium];
|
buildInputs = [libsodium];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
tidy = {
|
||||||
|
configureFlags = [ "--with-tidy=${libtidy}" ];
|
||||||
|
buildInputs = [ libtidy ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
cfg = {
|
cfg = {
|
||||||
@ -270,6 +275,7 @@ let
|
|||||||
ztsSupport = config.php.zts or false;
|
ztsSupport = config.php.zts or false;
|
||||||
calendarSupport = config.php.calendar or true;
|
calendarSupport = config.php.calendar or true;
|
||||||
sodiumSupport = (lib.versionAtLeast version "7.2") && config.php.sodium or true;
|
sodiumSupport = (lib.versionAtLeast version "7.2") && config.php.sodium or true;
|
||||||
|
tidySupport = php7 && config.php.tidy or true;
|
||||||
};
|
};
|
||||||
|
|
||||||
hardeningDisable = [ "bindnow" ];
|
hardeningDisable = [ "bindnow" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user