mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
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)
|