about summary refs log tree commit diff
path: root/pkgs/stdenv
diff options
context:
space:
mode:
authorQyriad <qyriad@qyriad.me>2024-02-26 19:59:01 -0700
committerGitHub <noreply@github.com>2024-02-26 19:59:01 -0700
commitff372db9b4e4eab33bf2c48a2d4ee8c644fe4f78 (patch)
tree02b28fd20788e2ef3daa889bd9ea8875f623a0b0 /pkgs/stdenv
parent9aef09586ea26be9d2cf8bfa0564539ddcbe0129 (diff)
prev: per-review: reword comment regarding logging of implicit hooks
Addresses the following review comment: https://github.com/NixOS/nixpkgs/pull/290081#discussion_r1503503065

This will be squashed into the previous commit pending review.

Co-authored-by: Philip Taron <philip.taron@gmail.com>
Diffstat (limited to 'pkgs/stdenv')
-rw-r--r--pkgs/stdenv/generic/setup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/stdenv/generic/setup.sh b/pkgs/stdenv/generic/setup.sh
index f6fde45aee65b..efd3c8c36e12a 100644
--- a/pkgs/stdenv/generic/setup.sh
+++ b/pkgs/stdenv/generic/setup.sh
@@ -51,8 +51,8 @@ getAllOutputNames() {
 # Hook handling.
 
 # Log a hook, to be run before the hook is actually called.
-# logging for "implicit" hooks -- the ones specified directly
-# in derivation's arguments -- is done in _callImplicitHook instead.
+# This only logs explicit hooks; "implicit" hooks, those specified directly
+# in a derivation's arguments, are logged in `_callImplicitHook` instead.
 _logHook() {
     local hookKind="$1"
     local hookExpr="$2"