summaryrefslogtreecommitdiff
path: root/flake.nix
blob: b967b921f0bb5bd41d9e8df5ba957931f8578622 (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
{
  inputs = {
    nixpkgs.url = "nixpkgs";
    nix-filter.url = "github:numtide/nix-filter";
    flake-utils.url = "github:numtide/flake-utils";
  };
  outputs = {
    self,
    flake-utils,
    ...
  } @ inputs:
    flake-utils.lib.eachDefaultSystem (system: let
      pkgs =
        import inputs.nixpkgs
        {
          inherit system;
        };
      tex = pkgs.texlive.combine {
        inherit (pkgs.texlive) scheme-medium latex-bin latexmk
          enumitem etaremune hyperref amsmath titlesec pbox;
      };
    in {
      devShells.default = pkgs.mkShell {
        name = "dev";
        buildInputs = [
          pkgs.coreutils
          tex
        ];
      };
    });
}