summaryrefslogtreecommitdiffhomepage
path: root/flake.nix
blob: 5a0a22612f9bf450e10a7f96625d65aa7342aec6 (plain) (blame)
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
{
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
    flake-utils.url = "github:numtide/flake-utils";
  };
  
  outputs = { self, flake-utils, nixpkgs }:
    flake-utils.lib.eachDefaultSystem (system: 
      let
        pkgs = import nixpkgs { inherit system; };
      in {
        devShells.default = pkgs.mkShell {
          buildInputs = with pkgs;[
            hugo
            (python3.withPackages (p: [
              p.pillow 
            ]))
            (texlive.combine {
              inherit (texlive) scheme-basic wrapfig etoolbox xcolor
                enumitem supertabular titlesec multirow parskip
                biblatex fontawesome fontawesome5
              ;
            })
          ];
        };
      }
    );
}