summaryrefslogtreecommitdiffstats
path: root/doc/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'doc/default.nix')
-rw-r--r--doc/default.nix14
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
'';