xin/pkgs/setup-hook.sh

10 lines
201 B
Bash
Raw Normal View History

2023-11-14 07:09:59 -07:00
addHarepath() {
for haredir in third-party stdlib; do
if [[ -d "$1/src/hare/$haredir" ]]; then
addToSearchPath HAREPATH "$1/src/hare/$haredir"
fi
done
2023-11-14 07:03:15 -07:00
}
addEnvHooks "$hostOffset" addHarepath