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