Merge pull request #46154 from obsidiansystems/top-level-xxxPlatfform-deprecation-changelog

doc: Add release notes for top-level {build,host,target}Platform deprecation
This commit is contained in:
John Ericson 2018-09-06 10:10:48 -04:00 committed by GitHub
commit d43e320f79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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>