For nix-shell, set some more variables in preHook

This commit is contained in:
Eelco Dolstra 2013-08-12 17:23:33 +02:00
parent 90eedcf256
commit 1481badf21

View file

@ -27,6 +27,10 @@ in rec {
preHook = '' preHook = ''
# TeX needs a writable font cache. # TeX needs a writable font cache.
export VARTEXFONTS=$TMPDIR/texfonts export VARTEXFONTS=$TMPDIR/texfonts
addToSearchPath PATH $(pwd)/src/script
addToSearchPath PATH $(pwd)/src/c
addToSearchPath PERL5LIB $(pwd)/src/lib
''; '';
configureFlags = configureFlags =