mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-07 05:23:16 +00:00
10 lines
229 B
Bash
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
|