summary refs log tree commit diff
path: root/pkgs/tools/typesetting/tex/texlive/setup-hook.sh
blob: 9c5424e881e3202592a3f71d61a24dad611a0994 (plain) (blame)
1
2
3
4
5
6
7
addTeXMFPath () {
    if test -d "$1/share/texmf-nix"; then
        export TEXINPUTS="${TEXINPUTS}${TEXINPUTS:+:}$1/share/texmf-nix//:"
    fi
}

envHooks+=(addTeXMFPath)