summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorElis Hirwing <elis@hirwing.se>2020-03-25 17:22:40 +0100
committertalyz <kim.lindberger@gmail.com>2020-04-05 16:45:11 +0200
commita4bc30c802d99bcc5c2f4c7bb84d40da14137c4c (patch)
treea39bab94fda1d2259368dcbec1ca9c8aa87864af /nixos
parente4cee802ad2adbfd586e919bfe9712bdee07e371 (diff)
downloadnixpkgs-a4bc30c802d99bcc5c2f4c7bb84d40da14137c4c.tar
nixpkgs-a4bc30c802d99bcc5c2f4c7bb84d40da14137c4c.tar.gz
nixpkgs-a4bc30c802d99bcc5c2f4c7bb84d40da14137c4c.tar.bz2
nixpkgs-a4bc30c802d99bcc5c2f4c7bb84d40da14137c4c.tar.lz
nixpkgs-a4bc30c802d99bcc5c2f4c7bb84d40da14137c4c.tar.xz
nixpkgs-a4bc30c802d99bcc5c2f4c7bb84d40da14137c4c.tar.zst
nixpkgs-a4bc30c802d99bcc5c2f4c7bb84d40da14137c4c.zip
docs/rl: Update release log to match the updates to the default attributes
Diffstat (limited to 'nixos')
-rw-r--r--nixos/doc/manual/release-notes/rl-2009.xml27
1 files 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 bef08b1981f..db4b8df4a22 100644
--- a/nixos/doc/manual/release-notes/rl-2009.xml
+++ b/nixos/doc/manual/release-notes/rl-2009.xml
@@ -127,25 +127,30 @@
    </listitem>
    <listitem>
      <para>
-       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 <literal>imagick</literal>, <literal>opcache</literal> and <literal>pdo_mysql</literal>:
+       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 <literal>imagick</literal>, <literal>opcache</literal> and
+       <literal>pdo_mysql</literal> loaded:
 
        <programlisting>
 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
   ]; })
 ];</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>
-       Since we have a smaller base package that we base the main <literal>php</literal> 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 <literal>php</literal> 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:
 
        <itemizedlist>
          <title>PHP <literal>config</literal> flags that we don't read anymore:</title>