mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
77d61d38b5
svn path=/nixpkgs/trunk/; revision=11216
8 lines
185 B
Bash
8 lines
185 B
Bash
addTeXMFPath () {
|
|
if test -d "$1/share/texmf-nix"; then
|
|
export TEXINPUTS="${TEXINPUTS}${TEXINPUTS:+:}$1/share/texmf-nix//:"
|
|
fi
|
|
}
|
|
|
|
envHooks=(${envHooks[@]} addTeXMFPath)
|