doc/stdenv: delete a confusing sentence for writableTmpDirAsHomeHook (#379105)

This commit is contained in:
Lin Jian
2025-02-03 22:25:40 +08:00
committed by GitHub
+1 -2
View File
@@ -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.