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

envHooks=(${envHooks[@]} addGuileLibPath)