doc: Add release notes for top-level {build,host,target}Platform deprecation

I forgot to do this in e51f736076.
This commit is contained in:
John Ericson 2018-09-06 09:21:38 -04:00
parent 24209d29f0
commit f66257cfce

View File

@ -544,6 +544,13 @@ inherit (pkgs.nixos {
a new paragraph.
</para>
</listitem>
<listitem>
<para>
Top-level <literal>buildPlatform</literal>, <literal>hostPlatform</literal>, and <literal>targetPlatform</literal> in Nixpkgs are deprecated.
Please use their equivalents in <literal>stdenv</literal> instead:
<literal>stdenv.buildPlatform</literal>, <literal>stdenv.hostPlatform</literal>, and <literal>stdenv.targetPlatform</literal>.
</para>
</listitem>
</itemizedlist>
</section>
</section>