summary refs log tree commit diff
path: root/pkgs/development/interpreters/guile/setup-hook.sh
blob: bf04fee1e89360d6e6313f791a2cecc03f662345 (plain) (blame)
1
2
3
4
5
6
7
8
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