nixpkgs/pkgs/misc/tex/tetex/setup-hook.sh
Andres Löh 719217d77a * modified tetex to support extra .sty's from other packages
* added lazylist and polytable (both tetex packages)
* added lhs2tex ebuild, depending on the two above

svn path=/nixpkgs/trunk/; revision=4609
2006-01-27 20:51:41 +00:00

8 lines
179 B
Bash

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