blob: 2db6a650bc6e9c3da968c615327ff07c50b74b40 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
''
|