Index: shell.nix ================================================================== --- shell.nix +++ shell.nix @@ -1,9 +1,13 @@ with import {}; + mkShell { venvDir = ".venv"; buildInputs = [ - haskellPackages.pandoc - (python310.withPackages (p: with p; [ weasyprint mkdocs ])) - python310Packages.venvShellHook + pandoc + (python311.withPackages + (p: with p; [ mkdocs weasyprint ])).pkgs.venvShellHook ]; + postShellHook = '' + pip install mkdocs-with-pdf + ''; }