From 6df61db0600ca73ccd51e3e5bec5312a04e99da1 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Fri, 10 May 2019 20:59:39 -0400 Subject: diff hook: execute as the build user, and pass the temp dir --- doc/manual/command-ref/conf-file.xml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'doc/manual/command-ref/conf-file.xml') diff --git a/doc/manual/command-ref/conf-file.xml b/doc/manual/command-ref/conf-file.xml index a1a5d6e12..c5f90481b 100644 --- a/doc/manual/command-ref/conf-file.xml +++ b/doc/manual/command-ref/conf-file.xml @@ -252,13 +252,11 @@ false. same. - - - The root user executes the diff hook in a daemonised - installation. See for - information on using the diff hook safely. - - + + The diff hook is executed by the same user and group who ran the + build. However, the diff hook does not have write access to the + store path just built. + The diff hook program receives three parameters: @@ -280,6 +278,14 @@ false. The path to the build's derivation + + + + The path to the build's scratch directory. This directory + will exist only if the build was run with + . + + The diff hook should not print data to stderr or stdout, as -- cgit v1.2.3