diff --git a/doc/stdenv.xml b/doc/stdenv.xml index 68a3282d7d68..a3990dec052f 100644 --- a/doc/stdenv.xml +++ b/doc/stdenv.xml @@ -2633,7 +2633,8 @@ addEnvHooks "$hostOffset" myBashFunction happens. It prevents nix from cleaning up the build environment immediately and allows the user to attach to a build environment using the cntr command. Upon build error it will print - instructions on how to use cntr. Installing cntr and + instructions on how to use cntr, which can be used + to enter the environment for debugging. Installing cntr and running the command will provide shell access to the build sandbox of failed build. At /var/lib/cntr the sandboxed filesystem is mounted. All commands and files of the system are still