blob: db9d50fa676c9e4e30ee017ffa714344787bc59d (
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
|
{
description = "TeX paper";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
flake-parts.url = "github:hercules-ci/flake-parts";
latex-utils.url = "github:jmmaloney4/latex-utils";
systems.url = "github:nix-systems/default";
};
outputs =
inputs@{
self,
flake-parts,
latex-utils,
...
}:
flake-parts.lib.mkFlake { inherit self inputs; } {
systems = import inputs.systems;
imports = [ latex-utils.modules.flake.latex-utils ];
latex-utils = {
enableVSCode = false;
documents = [
{
name = "main.pdf";
src = ./.;
extraTexPackages = [ ];
}
];
};
perSystem =
{ config, pkgs, ... }:
{
devShells.default = pkgs.mkShellNoCC {
inputsFrom = [ config.latex-utils.unifiedTexShell ];
nativeBuildInputs = [ ];
};
};
};
}
|