diff --git a/doc/manual/writing-nix-expressions.xml b/doc/manual/writing-nix-expressions.xml
index 09ee9cf1e..f7133345a 100644
--- a/doc/manual/writing-nix-expressions.xml
+++ b/doc/manual/writing-nix-expressions.xml
@@ -701,7 +701,7 @@ configureFlags = "
number of spaces equal to the minimal indentation of the string as
a whole (disregarding the indentation of empty lines). For
instance, the first and second line are indented two space, while
- the third line is indented three spaces. Thus, two spaces are
+ the third line is indented four spaces. Thus, two spaces are
stripped from each line, so the resulting string is
@@ -827,7 +827,7 @@ by a semicolon. For example:
}
This defines an attribute set with attributes named
-x, test, y.
+x, text, y.
The order of the attributes is irrelevant. An attribute name may only
occur once.