diff --git a/README.md b/README.md index 8049c2f..18ca913 100644 --- a/README.md +++ b/README.md @@ -3,5 +3,7 @@ ## usage ```sh -nix-shell -p pandoc mermaid-filter --command 'pandoc fediversity.md -o fediversity.html -F mermaid-filter' +nix-shell +pandoc fediversity.md -o fediversity.html +pandoc fediversity.html -o fediversity.pdf ``` diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..031e504 --- /dev/null +++ b/shell.nix @@ -0,0 +1,12 @@ +{ + pkgs ? import { }, +}: +{ + shell = pkgs.mkShellNoCC { + packages = with pkgs; [ + pandoc + texliveMedium + librsvg + ]; + }; +}