diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2020-12-05 13:47:29 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2020-12-09 05:26:55 +0100 |
commit | ba11a966532d93aa7dea667fb1f07de9e781e55c (patch) | |
tree | 98b19204f3f6f4254f4b4ad04d34251a7404a848 /doc/default.nix | |
parent | 9a31966f14545ac2fa99014284a49acc225b9826 (diff) |
doc: Add staging workflow diagram
Diffstat (limited to 'doc/default.nix')
-rw-r--r-- | doc/default.nix | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/default.nix b/doc/default.nix index d9051167dee5..543a3874170b 100644 --- a/doc/default.nix +++ b/doc/default.nix @@ -5,10 +5,22 @@ let in pkgs.stdenv.mkDerivation { name = "nixpkgs-manual"; - buildInputs = with pkgs; [ pandoc libxml2 libxslt zip jing xmlformat ]; + nativeBuildInputs = with pkgs; [ + pandoc + graphviz + libxml2 + libxslt + zip + jing + xmlformat + ]; src = ./.; + makeFlags = [ + "PANDOC_LUA_FILTERS_DIR=${pkgs.pandoc-lua-filters}/share/pandoc/filters" + ]; + postPatch = '' ln -s ${doc-support} ./doc-support/result ''; |