nixpkgs/pkgs/by-name/ha/hare/setup-hook.sh
2023-12-11 16:27:55 -03:00

10 lines
229 B
Bash

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