Add shellHook to automatically build the presentation
commitd2e2090e41a93b0583e3fc3e24f4594c318fba38
authorAlexander Bantyev <balsoft@yandex.ru>
dateMon 22 Jul 2019, 13:39 (7 years ago)
parentcd686ef
default.nix+2
@@ -29,6 +29,8 @@ in stdenv.mkDerivation rec {
2929
3030 preferLocalBuild = true;
3131
32+ shellHook = "make build";
33+
3234 buildPhase = ''
3335 pandoc nix.md -t beamer --slide-level=2 --pdf-engine xelatex -F pandoc-filter-graphviz -o nix.pdf;
3436 pandoc nix.md -t slidy -F pandoc-filter-graphviz -o nix.html;