@@ -2099,13 +2099,13 @@ someVar=$(stripHash $name)
20992099 </para>
21002100
21012101 <para>
2102− In order to alleviate this burden, the <firstterm>setup
2103− hook</firstterm> mechanism was written, where any package can include a
2104− shell script that [by convention rather than enforcement by Nix], any
2105− downstream reverse-dependency will source as part of its build process. That
2106− allows the downstream dependency to merely specify its dependencies, and
2107− lets those dependencies effectively initialize themselves. No boilerplate
2108− mirroring the list of dependencies is needed.
2102+ In order to alleviate this burden, the <firstterm>setup hook</firstterm>
2103+ mechanism was written, where any package can include a shell script that [by
2104+ convention rather than enforcement by Nix], any downstream
2105+ reverse-dependency will source as part of its build process. That allows the
2106+ downstream dependency to merely specify its dependencies, and lets those
2107+ dependencies effectively initialize themselves. No boilerplate mirroring the
2108+ list of dependencies is needed.
21092109 </para>
21102110
21112111 <para>
@@ -2451,16 +2451,19 @@ addEnvHooks "$hostOffset" myBashFunction
24512451 </term>
24522452 <listitem>
24532453 <para>
2454− This hook will make a build pause instead of stopping
2455− when a failure happen. It prevents nix to cleanup the build
2456− environment immediatly and allows the user to attach
2457− to a build environemnt using the <varname>cntr</varname> command.
2458− On build error it will print the instruction that are neccessary for cntr.
2459− Note that <varname>cntr</varname> is not installed by default and
2460− needs to be installed seperatly. <varname>cntr</varname> also needs to be executed
2461− on the machine that is doing the build, which might be not the case
2462− when remote builders are enabled. <varname>cntr</varname> is only supported
2463− on linux based platforms.
2454+ This hook will make a build pause instead of stopping when a failure
2455+ happen. It prevents nix to cleanup the build environment immediatly and
2456+ allows the user to attach to a build environment using the
2457+ <command>cntr</command> command. On build error it will print the
2458+ instruction that are neccessary for <command>cntr</command>. Installing
2459+ cntr and running the command will provide shell access to the build
2460+ sandbox of failed build. At <filename>/var/lib/cntr</filename> the
2461+ sandbox filesystem is mounted. All commands and files of the system are
2462+ still accessible within the shell. To execute commands from the sandbox
2463+ use the cntr exec subcommand. Note that <command>cntr</command> also
2464+ needs to be executed on the machine that is doing the build, which might
2465+ be not the case when remote builders are enabled.
2466+ <command>cntr</command> is only supported on linux based platforms.
24642467 </para>
24652468 </listitem>
24662469 </varlistentry>