git.iko.soy/typeable/nixpkgs
on master help sign in
doc: Add changelog entry for new definition of `system` and `stdenv.system`

See the previous commit for details.

commit8ae27030aa4989d42f9335d4b80a5a4d3d6d039c authorJohn Ericson <John.Ericson@Obsidian.Systems> dateMon 27 Aug 2018, 14:39 (8 years ago) parent773233c
1 file changed+8
nixos/doc/manual/release-notes/rl-1809.xml+8
nixos/doc/manual/release-notes/rl-1809.xml+8
@@ -283,6 +283,14 @@ $ nix-instantiate -E '(import &lt;nixpkgsunstable&gt; {}).gitFull'
283283 from your config without any issues.
284284 </para>
285285 </listitem>
286+ <listitem>
287+ <para>
288+ <literal>stdenv.system</literal> and <literal>system</literal> in nixpkgs now refer to the host platform instead of the build platform.
289+ For native builds this is not change, let alone a breaking one.
290+ For cross builds, it is a breaking change, and <literal>stdenv.buildPlatform.system</literal> can be used instead for the old behavior.
291+ They should be using that anyways for clarity.
292+ </para>
293+ </listitem>
286294 </itemizedlist>
287295 </section>
288296