blob: 8bdab1d7af743fb9f5f8cfcfa007a98f62cd2b0b (
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
|
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
};
outputs = { self, nixpkgs, ... }:
let
supportedSystems = [ "x86_64-linux" "aarch64-linux" ];
forEachSupportedSystem = f:
nixpkgs.lib.genAttrs supportedSystems (system:
f {
pkgs = import nixpkgs { inherit system; };
});
in
{
devShells = forEachSupportedSystem ({ pkgs }: {
default =
let
texpkgs = pkgs.texlive.combine {
inherit (pkgs.texlive)
scheme-basic collection-xetex collection-pictures
collection-latexrecommended collection-latexextra
collection-fontsextra;
};
in
pkgs.mkShell {
packages = with pkgs; [
];
buildInputs = [
texpkgs
];
};
});
};
}
|