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]; buildInputs = [texLive unzip];
phaseNames = ["doCopy"]; phaseNames = ["doCopy"];
doCopy = fullDepEntry ('' doCopy = fullDepEntry (''
ensureDir $out/share ensureDir $out/texmf/tex/latex/moderncv $out/texmf/doc $out/share
cp -r texmf* $out/ mv *.cls *.sty $out/texmf/tex/latex/moderncv/
ln -s $out/texmf* $out/share mv examples $out/texmf/doc/moderncv
'') ["minInit" "doUnpack" "defEnsureDir" "addInputs"]; ln -s $out/texmf* $out/share/
'') ["minInit" "addInputs" "doUnpack" "defEnsureDir"];
meta = { meta = {
description = "Extra components for TeXLive"; description = "Extra components for TeXLive";

View File

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