From 9dde0e79a2b74ad49f920ae043aba5f25e3f9542 Mon Sep 17 00:00:00 2001 From: Lin Jian Date: Mon, 3 Feb 2025 22:10:33 +0800 Subject: [PATCH] doc/stdenv: delete a confusing sentence for writableTmpDirAsHomeHook --- doc/stdenv/stdenv.chapter.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/stdenv/stdenv.chapter.md b/doc/stdenv/stdenv.chapter.md index d9264b6e7052..32d4e5d2e511 100644 --- a/doc/stdenv/stdenv.chapter.md +++ b/doc/stdenv/stdenv.chapter.md @@ -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.