From 3a28ae97ed8ed545039c93f11ed80c9e75dca595 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sun, 2 Feb 2025 21:32:13 +0100 Subject: [PATCH] build-support: update `addBinToPathHook`, use `postHooks` --- pkgs/build-support/setup-hooks/add-bin-to-path.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/build-support/setup-hooks/add-bin-to-path.sh b/pkgs/build-support/setup-hooks/add-bin-to-path.sh index 375a544dc6a4..08cd43bf2902 100644 --- a/pkgs/build-support/setup-hooks/add-bin-to-path.sh +++ b/pkgs/build-support/setup-hooks/add-bin-to-path.sh @@ -9,5 +9,4 @@ addBinToPath () { export PATH } -# shellcheck disable=SC2154 -addEnvHooks "$targetOffset" addBinToPath +postHooks+=(addBinToPath)