summary refs log tree commit diff
path: root/pkgs/development/interpreters/guile/setup-hook.sh
blob: d006b50ce8ef6705d6b050b155e7cfb8f27d2619 (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