Tweaks for nix-shell

This commit is contained in:
Eelco Dolstra
2013-07-19 14:36:52 +02:00
parent 7cd386894d
commit 659c829e88
3 changed files with 11 additions and 4 deletions

View File

@ -24,7 +24,7 @@ in rec {
versionSuffix = if officialRelease then "" else "pre${toString hydraSrc.revCount}-${hydraSrc.gitTag}";
preConfigure = ''
preHook = ''
# TeX needs a writable font cache.
export VARTEXFONTS=$TMPDIR/texfonts
'';
@ -118,7 +118,7 @@ in rec {
gzip bzip2 lzma gnutar unzip git gitAndTools.topGit mercurial gnused graphviz bazaar
] ++ lib.optionals stdenv.isLinux [ rpm dpkg cdrkit ] );
preConfigure = "patchShebangs .";
preCheck = "patchShebangs .";
postInstall = ''
mkdir -p $out/nix-support