From b1f2c2f48e2d83abea0a5396589a7551096a09f2 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Mon, 16 Nov 2020 11:01:28 -0500 Subject: feat(glittershark): Add resume + deploy it to gws.fyi Change-Id: If9cf64c97621313af86074752d0959506059888a Reviewed-on: https://cl.tvl.fyi/c/depot/+/2079 Reviewed-by: glittershark Tested-by: BuildkiteCI --- users/glittershark/resume/default.nix | 37 +++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 users/glittershark/resume/default.nix (limited to 'users/glittershark/resume/default.nix') diff --git a/users/glittershark/resume/default.nix b/users/glittershark/resume/default.nix new file mode 100644 index 0000000000..2db6a650bc --- /dev/null +++ b/users/glittershark/resume/default.nix @@ -0,0 +1,37 @@ +{ 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 +'' -- cgit 1.4.1