diff --git a/doc/stdenv.xml b/doc/stdenv.xml
index c17d7c51ae21..3da3dd8df96e 100644
--- a/doc/stdenv.xml
+++ b/doc/stdenv.xml
@@ -988,6 +988,41 @@ set debug-file-directory ~/.nix-profile/lib/debug
+The installCheck phase
+
+The installCheck phase checks whether the package was installed
+correctly by running its test suite against the installed directories.
+The default installCheck calls make
+installcheck.
+
+
+ Variables controlling the installCheck phase
+
+
+ doInstallCheck
+ If set to a non-empty string, the installCheck phase is
+ executed, otherwise it is skipped (default). Thus you should set
+
+ doInstallCheck = true;
+
+ in the derivation to enable install checks.
+
+
+
+ preInstallCheck
+ Hook executed at the start of the installCheck
+ phase.
+
+
+
+ postInstallCheck
+ Hook executed at the end of the installCheck
+ phase.
+
+
+
+
+