about summary refs log blame commit diff
path: root/users/grfn/resume/default.nix
blob: 4454e74c8261dcaed2867913285b588fb4a4cd62 (plain) (tree)
1
2
3
4
5



              
                            


























                                   







                                                               
{ pkgs, ... }:

with pkgs.lib;

pkgs.runCommand "resume.pdf"
{
  buildInputs = [
    (pkgs.texlive.combine {
      inherit (pkgs.texlive)
        capt-of
        collection-fontsrecommended
        enumitem
        etoolbox
        fancyvrb
        float
        fncychap
        framed
        l3packages
        microtype
        needspace
        parskip
        scheme-basic
        tabulary
        titlesec
        ulem
        upquote
        varwidth
        wrapfig
        xcolor
        ;
    })
  ];
} ''
  cp ${builtins.filterSource (path: type:
    type == "regular" &&
    any (ext: hasSuffix ext path) [".sty" ".cls" ".tex" ".png"]
  ) ./.}/* .
  pdflatex ./resume.tex
  cp resume.pdf $out
''