summary refs log tree commit diff
path: root/nixos/doc/manual
diff options
context:
space:
mode:
authorUli Baum <xeji@cat3.de>2018-09-13 10:08:53 +0200
committerUli Baum <xeji@cat3.de>2018-09-13 10:08:53 +0200
commit1df2560dde3df459dd0e71883c5eac014100b0b0 (patch)
treeb0151bf1948574b52b6d29fd8a656f576cfbf7f7 /nixos/doc/manual
parent1428d00aa4a58095ba510145eb25233591ac6051 (diff)
parent0f2b10d1ac41c2f573fddbdf110a1ae435ffdd8a (diff)
downloadnixlib-1df2560dde3df459dd0e71883c5eac014100b0b0.tar
nixlib-1df2560dde3df459dd0e71883c5eac014100b0b0.tar.gz
nixlib-1df2560dde3df459dd0e71883c5eac014100b0b0.tar.bz2
nixlib-1df2560dde3df459dd0e71883c5eac014100b0b0.tar.lz
nixlib-1df2560dde3df459dd0e71883c5eac014100b0b0.tar.xz
nixlib-1df2560dde3df459dd0e71883c5eac014100b0b0.tar.zst
nixlib-1df2560dde3df459dd0e71883c5eac014100b0b0.zip
Merge branch 'master' into staging-next
Diffstat (limited to 'nixos/doc/manual')
-rw-r--r--nixos/doc/manual/installation/upgrading.xml9
-rw-r--r--nixos/doc/manual/release-notes/rl-1809.xml15
2 files changed, 21 insertions, 3 deletions
diff --git a/nixos/doc/manual/installation/upgrading.xml b/nixos/doc/manual/installation/upgrading.xml
index 85e5082575d3..69668b1d4bd6 100644
--- a/nixos/doc/manual/installation/upgrading.xml
+++ b/nixos/doc/manual/installation/upgrading.xml
@@ -52,10 +52,13 @@
    </listitem>
   </itemizedlist>
   To see what channels are available, go to
-  <link
-xlink:href="https://nixos.org/channels"/>. (Note that the URIs of the
+  <link xlink:href="https://nixos.org/channels"/>. (Note that the URIs of the
   various channels redirect to a directory that contains the channel’s latest
-  version and includes ISO images and VirtualBox appliances.)
+  version and includes ISO images and VirtualBox appliances.) Please note that
+  during the release process, channels that are not yet released will be
+  present here as well. See the Getting NixOS page
+  <link xlink:href="https://nixos.org/nixos/download.html"/> to find the newest
+  supported stable release.
  </para>
  <para>
   When you first install NixOS, you’re automatically subscribed to the NixOS
diff --git a/nixos/doc/manual/release-notes/rl-1809.xml b/nixos/doc/manual/release-notes/rl-1809.xml
index 53ffef31e3cc..01421fc5dda7 100644
--- a/nixos/doc/manual/release-notes/rl-1809.xml
+++ b/nixos/doc/manual/release-notes/rl-1809.xml
@@ -283,6 +283,14 @@ $ nix-instantiate -E '(import &lt;nixpkgsunstable&gt; {}).gitFull'
       from your config without any issues.
     </para>
    </listitem>
+   <listitem>
+    <para>
+      <literal>stdenv.system</literal> and <literal>system</literal> in nixpkgs now refer to the host platform instead of the build platform.
+      For native builds this is not change, let alone a breaking one.
+      For cross builds, it is a breaking change, and <literal>stdenv.buildPlatform.system</literal> can be used instead for the old behavior.
+      They should be using that anyways for clarity.
+    </para>
+   </listitem>
   </itemizedlist>
  </section>
 
@@ -536,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>