diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2018-12-16 22:55:06 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2018-12-16 22:55:06 +0100 |
commit | aead6e12f96a76a2c1c6b64ba81b18d647e6e3d0 (patch) | |
tree | aff35e8cfa837fd92319e23951493431b3d2dacc /doc/stdenv.xml | |
parent | 4027966602c1d3bfac7091e390c2cf678115d59f (diff) | |
parent | eceb2b06a1bd012a938697718c5f3b7b6fd9249a (diff) | |
download | nixpkgs-aead6e12f96a76a2c1c6b64ba81b18d647e6e3d0.tar nixpkgs-aead6e12f96a76a2c1c6b64ba81b18d647e6e3d0.tar.gz nixpkgs-aead6e12f96a76a2c1c6b64ba81b18d647e6e3d0.tar.bz2 nixpkgs-aead6e12f96a76a2c1c6b64ba81b18d647e6e3d0.tar.lz nixpkgs-aead6e12f96a76a2c1c6b64ba81b18d647e6e3d0.tar.xz nixpkgs-aead6e12f96a76a2c1c6b64ba81b18d647e6e3d0.tar.zst nixpkgs-aead6e12f96a76a2c1c6b64ba81b18d647e6e3d0.zip |
Merge remote-tracking branch 'upstream/master' into staging
Diffstat (limited to 'doc/stdenv.xml')
-rw-r--r-- | doc/stdenv.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/stdenv.xml b/doc/stdenv.xml index 4ef89991d2f..1c18fab8669 100644 --- a/doc/stdenv.xml +++ b/doc/stdenv.xml @@ -2500,17 +2500,17 @@ addEnvHooks "$hostOffset" myBashFunction <listitem> <para> This hook will make a build pause instead of stopping when a failure - happen. It prevents nix to cleanup the build environment immediatly and + happens. It prevents nix from cleaning up the build environment immediately and allows the user to attach to a build environment using the - <command>cntr</command> command. On build error it will print the - instruction that are neccessary for <command>cntr</command>. Installing + <command>cntr</command> command. Upon build error it will print + instructions on how to use <command>cntr</command>. Installing cntr and running the command will provide shell access to the build sandbox of failed build. At <filename>/var/lib/cntr</filename> the - sandbox filesystem is mounted. All commands and files of the system are + sandboxed filesystem is mounted. All commands and files of the system are still accessible within the shell. To execute commands from the sandbox use the cntr exec subcommand. Note that <command>cntr</command> also needs to be executed on the machine that is doing the build, which might - be not the case when remote builders are enabled. + not be the case when remote builders are enabled. <command>cntr</command> is only supported on Linux-based platforms. To use it first add <literal>cntr</literal> to your <literal>environment.systemPackages</literal> on NixOS or alternatively to |