-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.nix
More file actions
44 lines (40 loc) · 723 Bytes
/
default.nix
File metadata and controls
44 lines (40 loc) · 723 Bytes
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
38
39
40
41
42
43
44
let
pkgs = import <nixpkgs> { };
texlive = pkgs.texlive.combine {
inherit (pkgs.texlive)
scheme-medium
xcolor
float
etoolbox
extsizes
titlesec
enumitem
parskip
# Font XCharter
# https://tug.org/FontCatalogue/xcharter/
xcharter
# Manually derived dependencies
fontspec
euenc
xstring
fontaxes
;
};
in
{
inherit pkgs;
inherit texlive;
pages = pkgs.stdenv.mkDerivation {
name = "cv.maxdaten.io";
src = ./.;
phases = [ ];
buildInputs = [
texlive
pkgs.pandoc
pkgs.watchexec
pkgs.just
# Image optimization (converts to WebP)
pkgs.imagemagick
];
};
}