tvl-depot/users/glittershark/resume/default.nix
Griffin Smith b1f2c2f48e feat(glittershark): Add resume + deploy it to gws.fyi
Change-Id: If9cf64c97621313af86074752d0959506059888a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2079
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
2020-11-16 16:10:43 +00:00

37 lines
659 B
Nix

{ 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
''