Unverified Commit 9dde0e79 authored by Lin Jian's avatar Lin Jian
Browse files

doc/stdenv: delete a confusing sentence for writableTmpDirAsHomeHook

parent cf0e7c1a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1394,8 +1394,7 @@ hook, as they might introduce unexpected behavior in some specific cases.
This setup hook ensures that the directory specified by the `HOME` environment
variable is writable. If it is not, the hook assigns `HOME` to a writable
directory (in `.home` in `$NIX_BUILD_TOP`). This adjustment is necessary for
certain packages that require write access to a home directory. This hook can
be added to any phase.
certain packages that require write access to a home directory.

By setting `HOME` to a writable directory, this setup hook prevents failures in
packages that attempt to write to the home directory.