From c20c0823838d257b1e18e71c307f53afac0d2b39 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 23 Jul 2020 10:38:19 +0200 Subject: -> --- doc/manual/expressions/derivations.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'doc/manual/expressions/derivations.xml') diff --git a/doc/manual/expressions/derivations.xml b/doc/manual/expressions/derivations.xml index 6f6297565..a11de0088 100644 --- a/doc/manual/expressions/derivations.xml +++ b/doc/manual/expressions/derivations.xml @@ -122,7 +122,7 @@ the Nixpkgs manual for details. A temporary directory is created under the directory - specified by TMPDIR (default + specified by TMPDIR (default /tmp) where the build will take place. The current directory is changed to this directory. @@ -133,29 +133,29 @@ the Nixpkgs manual for details. - NIX_BUILD_TOP contains the path of + NIX_BUILD_TOP contains the path of the temporary directory for this build. - Also, TMPDIR, - TEMPDIR, TMP, TEMP + Also, TMPDIR, + TEMPDIR, TMP, TEMP are set to point to the temporary directory. This is to prevent the builder from accidentally writing temporary files anywhere else. Doing so might cause interference by other processes. - PATH is set to + PATH is set to /path-not-set to prevent shells from initialising it to their built-in default value. - HOME is set to + HOME is set to /homeless-shelter to prevent programs from using /etc/passwd or the like to find the user's home directory, which could cause impurity. Usually, when - HOME is set, it is used as the location of the home + HOME is set, it is used as the location of the home directory, even if it points to a non-existent path. - NIX_STORE is set to the path of the + NIX_STORE is set to the path of the top-level Nix store directory (typically, /nix/store). -- cgit v1.2.3