diff options
Diffstat (limited to 'doc/stdenv.xml')
-rw-r--r-- | doc/stdenv.xml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/stdenv.xml b/doc/stdenv.xml index a2530e102ca8c..6e7134e16a578 100644 --- a/doc/stdenv.xml +++ b/doc/stdenv.xml @@ -318,7 +318,13 @@ containing some shell commands to be executed, or by redefining the shell function <varname><replaceable>name</replaceable>Phase</varname>. The former is convenient to override a phase from the derivation, while the -latter is convenient from a build script.</para> +latter is convenient from a build script. + +However, typically one only wants to <emphasis>add</emphasis> some +commands to a phase, e.g. by defining <literal>postInstall</literal> +or <literal>preFixup</literal>, as skipping some of the default actions +may have unexpected consequences. +</para> <section xml:id="ssec-controlling-phases"><title>Controlling |