1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 09:31:01 +00:00
nixpkgs/pkgs/applications/science/misc/root/setup-hook.sh

10 lines
177 B
Bash
Raw Normal View History

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