summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2018-09-06 09:21:38 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-09-06 09:55:37 -0400
commitf66257cfcea37acd0d24b99b74694898f3493fd5 (patch)
treefbea895d0102ec2e1aea7acb98164a8f104fb256
parent24209d29f08c9f0dfeffffd2b30d0aebd536341e (diff)
downloadnixpkgs-f66257cfcea37acd0d24b99b74694898f3493fd5.tar
nixpkgs-f66257cfcea37acd0d24b99b74694898f3493fd5.tar.gz
nixpkgs-f66257cfcea37acd0d24b99b74694898f3493fd5.tar.bz2
nixpkgs-f66257cfcea37acd0d24b99b74694898f3493fd5.tar.lz
nixpkgs-f66257cfcea37acd0d24b99b74694898f3493fd5.tar.xz
nixpkgs-f66257cfcea37acd0d24b99b74694898f3493fd5.tar.zst
nixpkgs-f66257cfcea37acd0d24b99b74694898f3493fd5.zip
doc: Add release notes for top-level {build,host,target}Platform deprecation
I forgot to do this in e51f736076548459f36a1250de4bf6867f880b66.
-rw-r--r--nixos/doc/manual/release-notes/rl-1809.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/nixos/doc/manual/release-notes/rl-1809.xml b/nixos/doc/manual/release-notes/rl-1809.xml
index 63775d503c9..9ec465d8955 100644
--- a/nixos/doc/manual/release-notes/rl-1809.xml
+++ b/nixos/doc/manual/release-notes/rl-1809.xml
@@ -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>