diff --git a/doc/stdenv.xml b/doc/stdenv.xml
index 63e6450860a..e8171a78dcc 100644
--- a/doc/stdenv.xml
+++ b/doc/stdenv.xml
@@ -747,7 +747,8 @@ passthru.updateScript = [ ../../update.sh pname "--requested-release=unstable" ]
latter is convenient from a build script. However, typically one only wants
to add some commands to a phase, e.g. by defining
postInstall or preFixup, as skipping
- some of the default actions may have unexpected consequences.
+ some of the default actions may have unexpected consequences. The default
+ script for each phase is defined in the file pkgs/stdenv/generic/setup.sh.