3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/misc/tex/texlive/setup-hook.sh

8 lines
185 B
Bash
Raw Normal View History

addTeXMFPath () {
if test -d "$1/share/texmf-nix"; then
export TEXINPUTS="${TEXINPUTS}${TEXINPUTS:+:}$1/share/texmf-nix//:"
fi
}
envHooks=(${envHooks[@]} addTeXMFPath)