Files
mt/thesis/flake.nix
Jan Kowalczyk 055d403dfb aspell start
2025-10-11 18:09:18 +02:00

45 lines
824 B
Nix

{
description = "Build LaTeX document with minted";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs =
{
self,
nixpkgs,
flake-utils,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs { inherit system; };
aspellWithDicts = pkgs.aspellWithDicts (d: [ d.en ]);
latex-packages = with pkgs; [
texlive.combined.scheme-full
which
python310Packages.pygments
];
dev-packages = with pkgs; [
texlab
zathura
wmctrl
python312
];
in
{
devShell = pkgs.mkShell {
buildInputs = [
latex-packages
dev-packages
aspellWithDicts
];
};
}
);
}