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;
Build script for GNU Hello
(builder.sh)
-. $stdenv/setup
+source $stdenv/setup
PATH=$perl/bin:$PATH
@@ -524,7 +524,7 @@ build functions
buildInputs="$perl"
-. $stdenv/setup
+source $stdenv/setup
genericBuild
@@ -575,7 +575,7 @@ The perl attribute can then be removed, and the
builder becomes even shorter:
-. $stdenv/setup
+source $stdenv/setup
genericBuild
In fact, mkDerivation provides a default builder
@@ -1356,7 +1356,7 @@ of the following components:
called stdenv to the derivation, and then doing
-. $stdenv/setup
+source $stdenv/setup
at the top of the builder.