Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #47688 from grahamc/doc-breakout-functions
Browse files Browse the repository at this point in the history
nixpkgs docs: breakout functions
  • Loading branch information
grahamc committed Oct 4, 2018
2 parents 932833f + c07ba7c commit f2b3bbe
Show file tree
Hide file tree
Showing 11 changed files with 1,102 additions and 1,065 deletions.
2 changes: 1 addition & 1 deletion doc/Makefile
Expand Up @@ -69,7 +69,7 @@ highlightjs:
cp -r "$$HIGHLIGHTJS/loader.js" highlightjs/


manual-full.xml: ${MD_TARGETS} .version *.xml
manual-full.xml: ${MD_TARGETS} .version *.xml **/*.xml
xmllint --nonet --xinclude --noxincludenode manual.xml --output manual-full.xml

.version:
Expand Down
7 changes: 4 additions & 3 deletions doc/cross-compilation.xml
Expand Up @@ -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>
Expand Down

0 comments on commit f2b3bbe

Please sign in to comment.