about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-09-28T09·00+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-09-28T09·00+0000
commited4de220d29414be504a9f73bf86e0cef2e8dfba (patch)
tree68437b84ad71c376c4e1aa2aeb0aabff986ddb5b /doc
parentebfe57166dcf14b0033b4f3d3be3bb1289a19c07 (diff)
* Use "source" instead of ".".
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/writing-nix-expressions.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/manual/writing-nix-expressions.xml b/doc/manual/writing-nix-expressions.xml
index 222092f63852..56adacba4309 100644
--- a/doc/manual/writing-nix-expressions.xml
+++ b/doc/manual/writing-nix-expressions.xml
@@ -191,7 +191,7 @@ perl = perl;</programlisting>
 <example id='ex-hello-builder'><title>Build script for GNU Hello
 (<filename>builder.sh</filename>)</title>
 <programlisting>
-. $stdenv/setup <co id='ex-hello-builder-co-1' />
+source $stdenv/setup <co id='ex-hello-builder-co-1' />
 
 PATH=$perl/bin:$PATH <co id='ex-hello-builder-co-2' />
 
@@ -524,7 +524,7 @@ build functions</title>
 <programlisting>
 buildInputs="$perl" <co id='ex-hello-builder2-co-1' />
 
-. $stdenv/setup <co id='ex-hello-builder2-co-2' />
+source $stdenv/setup <co id='ex-hello-builder2-co-2' />
 
 genericBuild <co id='ex-hello-builder2-co-3' /></programlisting>
 </example>
@@ -575,7 +575,7 @@ The <varname>perl</varname> attribute can then be removed, and the
 builder becomes even shorter:
 
 <programlisting>
-. $stdenv/setup
+source $stdenv/setup
 genericBuild</programlisting>
 
 In fact, <varname>mkDerivation</varname> provides a default builder
@@ -1356,7 +1356,7 @@ of the following components:
 called <envar>stdenv</envar> to the derivation, and then doing
 
 <programlisting>
-. $stdenv/setup</programlisting>
+source $stdenv/setup</programlisting>
 
 at the top of the builder.</para>