diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2018-08-27 14:39:58 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2018-09-06 09:24:08 -0400 |
commit | 8ae27030aa4989d42f9335d4b80a5a4d3d6d039c (patch) | |
tree | 1bbea5984576bffe69f1525d1e49e8175c0838e8 /nixos/doc | |
parent | 773233ca771a359e63328a57216f57fd45092e60 (diff) |
doc: Add changelog entry for new definition of `system` and `stdenv.system`
See the previous commit for details.
Diffstat (limited to 'nixos/doc')
-rw-r--r-- | nixos/doc/manual/release-notes/rl-1809.xml | 8 |
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 421208ec0f8c9..be225f18c24ef 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 <nixpkgsunstable> {}).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> |