diff options
Diffstat (limited to 'doc/cross-compilation.xml')
-rw-r--r-- | doc/cross-compilation.xml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/cross-compilation.xml b/doc/cross-compilation.xml index c7187d86d1b3..da664394f262 100644 --- a/doc/cross-compilation.xml +++ b/doc/cross-compilation.xml @@ -47,9 +47,10 @@ <para> In Nixpkgs, these three platforms are defined as attribute sets under the - names <literal>buildPlatform</literal>, <literal>hostPlatform</literal>, and - <literal>targetPlatform</literal>. They are always defined as attributes in - the standard environment. That means one can access them like: + names <literal>buildPlatform</literal>, <literal>hostPlatform</literal>, + and <literal>targetPlatform</literal>. They are always defined as + attributes in the standard environment. That means one can access them + like: <programlisting>{ stdenv, fooDep, barDep, .. }: ...stdenv.buildPlatform...</programlisting> . </para> |