nixpkgs/pkgs/applications/science/misc/root/setup-hook.sh

10 lines
177 B
Bash

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