nixpkgs/pkgs/applications/science/misc/root/setup-hook.sh
2016-09-18 04:45:18 -04:00

10 lines
176 B
Bash

thisroot () {
# Workaround thisroot.sh dependency on man
if [ -z "${MANPATH}" ]; then
MANPATH=:
fi
source @out@/bin/thisroot.sh
}
envHooks+=(thisroot)