Files
mt/thesis/flake.nix

41 lines
713 B
Nix
Raw Normal View History

{
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; };
latex-packages = with pkgs; [
texlive.combined.scheme-full
which
2025-07-01 14:46:26 +02:00
python310Packages.pygments
];
dev-packages = with pkgs; [
texlab
zathura
wmctrl
];
in
{
devShell = pkgs.mkShell {
buildInputs = [
latex-packages
dev-packages
];
};
}
);
}