diff options
author | John Ericson <mail@JohnEricson.me> | 2018-09-06 09:37:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-06 09:37:20 -0400 |
commit | 24209d29f08c9f0dfeffffd2b30d0aebd536341e (patch) | |
tree | debf1bdbad8e3bf4fbe8977653bee473b34a7295 /nixos/doc | |
parent | a278414b32ad99bf11ce63c2ef0c970920bf761d (diff) | |
parent | 8ae27030aa4989d42f9335d4b80a5a4d3d6d039c (diff) |
Merge pull request #46148 from obsidiansystems/plain-system-host
top-level, stdenv: Make `system` and `stdenv.system` describe the hostPlatform
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 30e98a23bdfa6..63775d503c986 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> |