about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/science/misc/root/setup-hook.sh
blob: fc2b697d8a82ef301efd04b50475a6994e7b436b (plain) (blame)
1
2
3
4
5
6
7
8
9
thisroot () {
    # Workaround thisroot.sh dependency on man
    if [ -z "${MANPATH}" ]; then
        MANPATH=:
    fi
    source @out@/bin/thisroot.sh
}

postHooks+=(thisroot)