1
Fork 0
hare-nix/pkgs/setup-hook.sh

10 lines
229 B
Bash
Raw Normal View History

2024-05-14 19:02:43 +00:00
addHarepath () {
for haredir in third-party stdlib; do
if [[ -d "$1/src/hare/$haredir" ]]; then
addToSearchPath HAREPATH "$1/src/hare/$haredir"
fi
done
}
addEnvHooks "$hostOffset" addHarepath