Clarify where output from the diff hook goes.

This commit is contained in:
Graham Christensen 2019-05-12 13:23:30 -04:00
parent b4a05edbfe
commit a5efe61786
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C

View file

@ -288,10 +288,11 @@ false</literal>.</para>
</listitem> </listitem>
</orderedlist> </orderedlist>
<para>The diff hook should not print data to stderr or stdout, as <para>
output is not displayed to the user. However, if information is The stderr and stdout output from the diff hook will not be
printed, it will be printed in the <command>nix-daemon</command> displayed to the user. Instead, it will print to the nix-daemon's
log.</para> log.
</para>
<para>When using the Nix daemon, <literal>diff-hook</literal> must <para>When using the Nix daemon, <literal>diff-hook</literal> must
be set in the <filename>nix.conf</filename> configuration file, and be set in the <filename>nix.conf</filename> configuration file, and