presentation env flake

This commit is contained in:
Jan Kowalczyk
2024-12-05 16:09:15 +01:00
parent ddf4e4aa36
commit 4b16547ef6
2 changed files with 97 additions and 0 deletions

40
presentation/flake.nix Normal file
View File

@@ -0,0 +1,40 @@
{
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
python39Packages.pygments
];
dev-packages = with pkgs; [
texlab
zathura
wmctrl
];
in
{
devShell = pkgs.mkShell {
buildInputs = [
latex-packages
dev-packages
];
};
}
);
}