moderncv: cleanup the build instructions

Just add this package to texLiveAggregationFun to install it.

svn path=/nixpkgs/trunk/; revision=27765
This commit is contained in:
Peter Simons 2011-07-13 16:23:48 +00:00
parent a16e01fe19
commit db9fc16b70
2 changed files with 6 additions and 5 deletions

View File

@ -9,10 +9,11 @@ rec {
buildInputs = [texLive unzip];
phaseNames = ["doCopy"];
doCopy = fullDepEntry (''
ensureDir $out/share
cp -r texmf* $out/
ln -s $out/texmf* $out/share
'') ["minInit" "doUnpack" "defEnsureDir" "addInputs"];
ensureDir $out/texmf/tex/latex/moderncv $out/texmf/doc $out/share
mv *.cls *.sty $out/texmf/tex/latex/moderncv/
mv examples $out/texmf/doc/moderncv
ln -s $out/texmf* $out/share/
'') ["minInit" "addInputs" "doUnpack" "defEnsureDir"];
meta = {
description = "Extra components for TeXLive";

View File

@ -8114,7 +8114,7 @@ let
};
texLiveModerncv = builderDefsPackage (import ../misc/tex/texlive/moderncv.nix) {
inherit texLive;
inherit texLive unzip;
};
trac = callPackage ../misc/trac {