@@ -47,13 +47,9 @@
4747
4848 <para>
4949 In Nixpkgs, these three platforms are defined as attribute sets under the
50− names <literal>buildPlatform</literal>, <literal>hostPlatform</literal>,
51− and <literal>targetPlatform</literal>. All three are always defined as
52− attributes in the standard environment, and at the top level. That means
53− one can get at them just like a dependency in a function that is imported
54− with <literal>callPackage</literal>:
55−<programlisting>{ stdenv, buildPlatform, hostPlatform, fooDep, barDep, .. }: ...buildPlatform...</programlisting>
56− , or just off <varname>stdenv</varname>:
50+ names <literal>buildPlatform</literal>, <literal>hostPlatform</literal>, and
51+ <literal>targetPlatform</literal>. They are always defined as attributes in
52+ the standard environment. That means one can access them like:
5753<programlisting>{ stdenv, fooDep, barDep, .. }: ...stdenv.buildPlatform...</programlisting>
5854 .
5955 </para>