swt23w23/shell.nix

27 lines
424 B
Nix

{ pkgs ? import <nixpkgs> { } }:
let
texlive = pkgs.texlive.combine {
inherit (pkgs.texlive) scheme-small
datetime2
datetime2-german
latexmk;
};
in
with pkgs;
mkShell {
buildInputs = [
asciidoctor
editorconfig-checker
gitlint
jdk17
plantuml
pre-commit
texlive
watchexec # enables automatic compiling on change
];
shellHook = ''
pre-commit install
'';
}