From a4bc30c802d99bcc5c2f4c7bb84d40da14137c4c Mon Sep 17 00:00:00 2001 From: Elis Hirwing Date: Wed, 25 Mar 2020 17:22:40 +0100 Subject: [PATCH] docs/rl: Update release log to match the updates to the default attributes --- nixos/doc/manual/release-notes/rl-2009.xml | 27 +++++++++++++--------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/nixos/doc/manual/release-notes/rl-2009.xml b/nixos/doc/manual/release-notes/rl-2009.xml index bef08b1981fd..db4b8df4a225 100644 --- a/nixos/doc/manual/release-notes/rl-2009.xml +++ b/nixos/doc/manual/release-notes/rl-2009.xml @@ -127,25 +127,30 @@ - Since this release we have an easy way to customize your PHP install to get a much smaller - base PHP with only wanted extensions enabled. See following snippet to install a smaller PHP - with imagick, opcache and pdo_mysql: + Since this release there's an easy way to customize your PHP install to get a much smaller + base PHP with only wanted extensions enabled. See the following snippet installing a smaller PHP + with the extensions imagick, opcache and + pdo_mysql loaded: environment.systemPackages = [ -(pkgs.phpbase.buildEnv { exts = pp: with pp; [ - imagick - exts.opcache - exts.pdo_mysql +(pkgs.php.buildEnv { exts = pp: with pp.exts; [ + pp.imagick + opcache + pdo_mysql ]; }) ]; - All native PHP extensions are available under ]]>. + The default php attribute hasn't lost any extensions - + the opcache extension was added there. + + All upstream PHP extensions are available under ]]>. - Since we have a smaller base package that we base the main php on a - smaller base package we've decided to remove a big bunch of options to make the main - PHP derivation much easier to work with. + The updated php attribute is now easily customizable to your liking + by using extensions instead of writing config files or changing configure flags. + + Therefore we have removed the following configure flags: PHP <literal>config</literal> flags that we don't read anymore: