2020-11-16 17:01:28 +01:00
|
|
|
{ pkgs, ... }:
|
|
|
|
|
|
|
|
with pkgs.lib;
|
|
|
|
|
2022-01-30 17:06:58 +01:00
|
|
|
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
|
|
|
|
;
|
|
|
|
})
|
|
|
|
];
|
2020-11-16 17:01:28 +01:00
|
|
|
} ''
|
|
|
|
cp ${builtins.filterSource (path: type:
|
|
|
|
type == "regular" &&
|
|
|
|
any (ext: hasSuffix ext path) [".sty" ".cls" ".tex" ".png"]
|
|
|
|
) ./.}/* .
|
|
|
|
pdflatex ./resume.tex
|
|
|
|
cp resume.pdf $out
|
|
|
|
''
|