summary refs log tree commit diff
path: root/pkgs/development/interpreters/guile/setup-hook-1.8.sh
blob: 946e595ac0bf570e086c428770ac93036d2a648f (plain) (blame)
1
2
3
4
5
6
7
addGuileLibPath () {
    if test -d "$1/share/guile/site"; then
        export GUILE_LOAD_PATH="${GUILE_LOAD_PATH-}${GUILE_LOAD_PATH:+:}$1/share/guile/site"
    fi
}

addEnvHooks "$hostOffset" addGuileLibPath