mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 05:50:00 +00:00
8 lines
187 B
Bash
8 lines
187 B
Bash
addTeXMFPath () {
|
|
if test -d "$1/share/texmf-nix"; then
|
|
export TEXINPUTS="${TEXINPUTS}${TEXINPUTS:+:}$1/share/texmf-nix//:"
|
|
fi
|
|
}
|
|
|
|
addEnvHooks "$targetOffset" addTeXMFPath
|