summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJohn Ericson <mail@JohnEricson.me>2018-09-06 09:37:20 -0400
committerGitHub <noreply@github.com>2018-09-06 09:37:20 -0400
commit24209d29f08c9f0dfeffffd2b30d0aebd536341e (patch)
treedebf1bdbad8e3bf4fbe8977653bee473b34a7295 /nixos
parenta278414b32ad99bf11ce63c2ef0c970920bf761d (diff)
parent8ae27030aa4989d42f9335d4b80a5a4d3d6d039c (diff)
downloadnixpkgs-24209d29f08c9f0dfeffffd2b30d0aebd536341e.tar
nixpkgs-24209d29f08c9f0dfeffffd2b30d0aebd536341e.tar.gz
nixpkgs-24209d29f08c9f0dfeffffd2b30d0aebd536341e.tar.bz2
nixpkgs-24209d29f08c9f0dfeffffd2b30d0aebd536341e.tar.lz
nixpkgs-24209d29f08c9f0dfeffffd2b30d0aebd536341e.tar.xz
nixpkgs-24209d29f08c9f0dfeffffd2b30d0aebd536341e.tar.zst
nixpkgs-24209d29f08c9f0dfeffffd2b30d0aebd536341e.zip
Merge pull request #46148 from obsidiansystems/plain-system-host
top-level, stdenv: Make `system` and `stdenv.system` describe the hostPlatform
Diffstat (limited to 'nixos')
-rw-r--r--nixos/doc/manual/release-notes/rl-1809.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/doc/manual/release-notes/rl-1809.xml b/nixos/doc/manual/release-notes/rl-1809.xml
index 30e98a23bdf..63775d503c9 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>