From 01a420e428c285b2e3b59c1d8c1be54ca7cb5372 Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 11 Dec 2015 02:13:28 +0100 Subject: release: Turn manual into serveral chunks. This allows us to write separate chapters/parts of documentation without getting one big HTML page with everything at once. Now the chunk.xsl by default chunks of elements, so we'd like to control this by patching docbook5_xsl directly and prevent it from doing that. Signed-off-by: aszlig --- release.nix | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) (limited to 'release.nix') diff --git a/release.nix b/release.nix index 727b8ff8..4ecbeabc 100644 --- a/release.nix +++ b/release.nix @@ -94,6 +94,22 @@ in with pkgsUpstream.lib; with builtins; { inherit system; }; + patchedDocbookXSL = overrideDerivation pkgsUpstream.docbook5_xsl (drv: { + # Don't chunk off + postPatch = (drv.postPatch or "") + '' + sed -i -e ' + //d + / "$out/nix-support/hydra-build-products" + echo "doc manual $dest" > "$out/nix-support/hydra-build-products" ''; }; } -- cgit 1.4.1