Merge pull request #46154 from obsidiansystems/top-level-xxxPlatfform-deprecation-changelog
doc: Add release notes for top-level {build,host,target}Platform deprecation
commitd43e320f79f0158ac9a74fc31ae23109a9cc9975
authorJohn Ericson <mail@JohnEricson.me>
dateThu 6 Sep 2018, 10:10 (8 years ago)
parent5b58c6af66257c
nixos/doc/manual/release-notes/rl-1809.xml+7
@@ -544,6 +544,13 @@ inherit (pkgs.nixos {
544544 a new paragraph.
545545 </para>
546546 </listitem>
547+ <listitem>
548+ <para>
549+ Top-level <literal>buildPlatform</literal>, <literal>hostPlatform</literal>, and <literal>targetPlatform</literal> in Nixpkgs are deprecated.
550+ Please use their equivalents in <literal>stdenv</literal> instead:
551+ <literal>stdenv.buildPlatform</literal>, <literal>stdenv.hostPlatform</literal>, and <literal>stdenv.targetPlatform</literal>.
552+ </para>
553+ </listitem>
547554 </itemizedlist>
548555 </section>
549556</section>