doc: Add release notes for top-level {build,host,target}Platform deprecation
I forgot to do this in e51f736076
.
This commit is contained in:
parent
24209d29f0
commit
f66257cfce
|
@ -544,6 +544,13 @@ inherit (pkgs.nixos {
|
||||||
a new paragraph.
|
a new paragraph.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</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>
|
</itemizedlist>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Reference in New Issue