swt23w23/shell.nix

27 lines
424 B
Nix
Raw Normal View History

{ pkgs ? import <nixpkgs> { } }:
2023-11-14 19:18:45 +01:00
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
2023-11-14 19:18:45 +01:00
texlive
watchexec # enables automatic compiling on change
];
shellHook = ''
pre-commit install
'';
}