blob: fa9cc16dc299ac4f4a5e8f0196e49ad3b6087930 (
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
|
{
description = "TeX project";
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, ... }:
flake-parts.lib.mkFlake { inherit self inputs; } {
systems = import inputs.systems;
imports = [ inputs.latex-utils.modules.flake.latex-utils ];
latex-utils = {
enableVSCode = false;
extraTexPackages = [ "scheme-full" ];
};
perSystem =
{ pkgs, config, ... }:
{
devShells.default = pkgs.mkShellNoCC { inputsFrom = [ config.latex-utils.unifiedTexShell ]; };
};
};
}
|