blob: ad3bd84ea8bfaf5c82ee4f4e3c35106114c0319b (
plain)
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
45
46
47
48
|
{
description = "Quentin Aristote's CV.";
inputs = {
data.url = "github:qaristote/info";
my-nixpkgs.url = "github:qaristote/my-nixpkgs";
nixpkgs = { };
};
outputs =
{
flake-parts,
my-nixpkgs,
...
}@inputs:
flake-parts.lib.mkFlake { inherit inputs; } (
{
self,
lib,
...
}:
{
imports = builtins.attrValues { inherit (my-nixpkgs.flakeModules) personal; };
flake.lib = import ./lib { inherit lib; };
perSystem =
{ pkgs, ... }:
let
latex = self.lib.pp.latex;
cv = import ./default.nix {
inherit pkgs latex;
data = inputs.data.lib.formatWith {
inherit pkgs;
markup = latex;
};
};
in
{
packages = {
default = cv.pdf;
cv = cv.pdf;
cv_src = cv.src;
};
};
}
);
}
|