df17eb0dc3
svn path=/nixpkgs/trunk/; revision=10636
9 lines
207 B
Bash
9 lines
207 B
Bash
addGuileLibPath () {
|
|
if test -d "$1/lib/site-guile"
|
|
then
|
|
export GUILE_LOAD_PATH="${GUILE_LOAD_PATH}${GUILE_LOAD_PATH:+:}$1/lib/site-guile"
|
|
fi
|
|
}
|
|
|
|
envHooks=(${envHooks[@]} addGuileLibPath)
|