Skip to content

Commit 70ab464

Browse files
authored
build-support: update hooks (#378927)
2 parents e522ddb + b5066be commit 70ab464

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

pkgs/build-support/setup-hooks/add-bin-to-path.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@ addBinToPath () {
99
export PATH
1010
}
1111

12-
# shellcheck disable=SC2154
13-
addEnvHooks "$targetOffset" addBinToPath
12+
postHooks+=(addBinToPath)

pkgs/build-support/setup-hooks/writable-tmpdir-as-home.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ writableTmpDirAsHome () {
1111
fi
1212
}
1313

14-
# shellcheck disable=SC2154
15-
addEnvHooks "$targetOffset" writableTmpDirAsHome
14+
postHooks+=(writableTmpDirAsHome)

0 commit comments

Comments
 (0)