diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-09-28 09:00:07 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-09-28 09:00:07 +0000 |
commit | ed4de220d29414be504a9f73bf86e0cef2e8dfba (patch) | |
tree | 68437b84ad71c376c4e1aa2aeb0aabff986ddb5b | |
parent | ebfe57166dcf14b0033b4f3d3be3bb1289a19c07 (diff) |
* Use "source" instead of ".".
-rw-r--r-- | doc/manual/writing-nix-expressions.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/manual/writing-nix-expressions.xml b/doc/manual/writing-nix-expressions.xml index 222092f63..56adacba4 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> |