about summary refs log blame commit diff
path: root/users/glittershark/resume/default.nix
blob: 2db6a650bc6e9c3da968c615327ff07c50b74b40 (plain) (tree)




































                                                               
{ pkgs, ... }:

with pkgs.lib;

pkgs.runCommandNoCC "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
''