From 62d4ca6101ac9644331c4d7edfb408569c6ed86a Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 30 Jan 2025 21:50:04 +0100 Subject: [PATCH] build-support: update `addBinToPathHook` hook --- pkgs/build-support/setup-hooks/add-bin-to-path.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 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 308c2706fd05..375a544dc6a4 100644 --- a/pkgs/build-support/setup-hooks/add-bin-to-path.sh +++ b/pkgs/build-support/setup-hooks/add-bin-to-path.sh @@ -5,10 +5,8 @@ export PATH addBinToPath () { # shellcheck disable=SC2154 - if [ -d "$out/bin" ]; then - PATH="$out/bin:$PATH" - export PATH - fi + PATH="$out/bin:$PATH" + export PATH } # shellcheck disable=SC2154