summaryrefslogtreecommitdiffstats
path: root/flake.nix
blob: 4c65aa1ac806b91778a50a6621ebc4d7bdcb34b8 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
  description = "Relesoft Radio";
  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/release-25.11";
  };

  outputs =
    { self, nixpkgs }:
    let
      supportedSystems = [
        "x86_64-linux"
        "aarch64-linux"
      ];
      forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
      nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; });
    in
    {
      devShells = forAllSystems (
        system:
        let
          pkgs = nixpkgsFor.${system};
          mytex = pkgs.texliveSmall.withPackages (ps: [
            ps.adjustbox
            ps.alphalph
            ps.capt-of
            ps.catchfile
            ps.changepage
            ps.cleveref
            ps.comment
            ps.enumitem
            ps.environ
            ps.etoc
            ps.fontaxes
            ps.hanging
            ps.ifmtarg
            ps.ifptex
            ps.ltablex
            ps.lwarp
            ps.multirow
            ps.newunicodechar
            ps.ninecolors
            ps.printlen
            ps.roboto
            ps.sectsty
            ps.stackengine
            ps.svg
            ps.tabularray
            ps.tocloft
            ps.transparent
            ps.varwidth
            ps.verifycommand
            ps.xifthen
            ps.xltabular
            ps.xstring
          ]);
        in
        {
          default = pkgs.mkShell {
            buildInputs = with pkgs; [
              html-tidy
              biome
              gnumake
              mytex
            ];
          };
        }
      );
    };
}