* Typo reported by Arie Middelkoop.

* Left out close-quote in example.
This commit is contained in:
Eelco Dolstra 2006-10-26 23:06:47 +00:00
parent dd300fb48d
commit 99b0ea7c67
2 changed files with 4 additions and 3 deletions

View file

@ -92,7 +92,7 @@ component is installed in your current user environment. The second
very quick operation). The last one (<literal>S</literal>) indicates very quick operation). The last one (<literal>S</literal>) indicates
whether there is a so-called <emphasis>substitute</emphasis> for the whether there is a so-called <emphasis>substitute</emphasis> for the
component, which is Nixs mechanism for doing binary deployment. It component, which is Nixs mechanism for doing binary deployment. It
just means that Nix know that it can fetch a pre-built component from just means that Nix knows that it can fetch a pre-built component from
somewhere (typically a network server) instead of building it somewhere (typically a network server) instead of building it
locally.</para> locally.</para>

View file

@ -635,13 +635,14 @@ language.</para>
complicated example (from the Nix expression for <link complicated example (from the Nix expression for <link
xlink:href='http://www.trolltech.com/products/qt'>Qt</link>): xlink:href='http://www.trolltech.com/products/qt'>Qt</link>):
<programlisting> <programlisting>
configureFlags = " configureFlags = "
-system-zlib -system-libpng -system-libjpeg -system-zlib -system-libpng -system-libjpeg
${if openglSupport then "-dlopen-opengl ${if openglSupport then "-dlopen-opengl
-L${mesa}/lib -I${mesa}/include -L${mesa}/lib -I${mesa}/include
-L${libXmu}/lib -I${libXmu}/include" else ""} -L${libXmu}/lib -I${libXmu}/include" else ""}
${if threadSupport then "-thread" else "-no-thread"}</programlisting> ${if threadSupport then "-thread" else "-no-thread"}
";</programlisting>
Note that Nix expressions and strings can be arbitrarily nested; Note that Nix expressions and strings can be arbitrarily nested;
in this case the outer string contains various antiquotations that in this case the outer string contains various antiquotations that