mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
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
1 changed files with 7 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue