docs/rl: Update release log to match the updates to the default attributes

This commit is contained in:
Elis Hirwing 2020-03-25 17:22:40 +01:00 committed by talyz
parent e4cee802ad
commit a4bc30c802
No known key found for this signature in database
GPG Key ID: 2DED2151F4671A2B

View File

@ -127,25 +127,30 @@
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Since this release we have an easy way to customize your PHP install to get a much smaller 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 following snippet to install a smaller PHP base PHP with only wanted extensions enabled. See the following snippet installing a smaller PHP
with <literal>imagick</literal>, <literal>opcache</literal> and <literal>pdo_mysql</literal>: with the extensions <literal>imagick</literal>, <literal>opcache</literal> and
<literal>pdo_mysql</literal> loaded:
<programlisting> <programlisting>
environment.systemPackages = [ environment.systemPackages = [
(pkgs.phpbase.buildEnv { exts = pp: with pp; [ (pkgs.php.buildEnv { exts = pp: with pp.exts; [
imagick pp.imagick
exts.opcache opcache
exts.pdo_mysql pdo_mysql
]; }) ]; })
];</programlisting> ];</programlisting>
All native PHP extensions are available under <package><![CDATA[phpPackages.exts.<name?>]]></package>. The default <literal>php</literal> attribute hasn't lost any extensions -
the <literal>opcache</literal> extension was added there.
All upstream PHP extensions are available under <package><![CDATA[php.packages.exts.<name?>]]></package>.
</para> </para>
<para> <para>
Since we have a smaller base package that we base the main <literal>php</literal> on a The updated <literal>php</literal> attribute is now easily customizable to your liking
smaller base package we've decided to remove a big bunch of options to make the main by using extensions instead of writing config files or changing configure flags.
PHP derivation much easier to work with.
Therefore we have removed the following configure flags:
<itemizedlist> <itemizedlist>
<title>PHP <literal>config</literal> flags that we don't read anymore:</title> <title>PHP <literal>config</literal> flags that we don't read anymore:</title>