summaryrefslogtreecommitdiffstats
path: root/pkgs/build-support/lake/setup-hook.sh
blob: 0c7cd93dd90fe758cf92d78b19d6c43d839336c5 (plain)
1
2
3
4
5
6
7
8
addLeanPath() {
    local buildLib="$1/.lake/build/lib/lean"
    if [ -d "$buildLib" ]; then
        addToSearchPath LEAN_PATH "$buildLib"
    fi
}

addEnvHooks "$hostOffset" addLeanPath