From db7a11b13213d5e3f70c2af285cd7e4914558c4a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 25 Jul 2012 11:54:24 -0400 Subject: [PATCH] Manual: prevent a runtime dependency on DocBook XSL --- doc/manual/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/manual/default.nix b/doc/manual/default.nix index c82a46b05377..d3f554c099ee 100644 --- a/doc/manual/default.nix +++ b/doc/manual/default.nix @@ -57,12 +57,14 @@ in rec { ${pkgs.docbook5_xsl}/xml/xsl/docbook/xhtml/docbook.xsl \ ./manual.xml - ln -s ${pkgs.docbook5_xsl}/xml/xsl/docbook/images $dst/ + mkdir -p $dst/images/callouts + cp ${pkgs.docbook5_xsl}/xml/xsl/docbook/images/callouts/*.gif $dst/images/callouts/ + cp ${./style.css} $dst/style.css ensureDir $out/nix-support echo "doc manual $dst manual.html" >> $out/nix-support/hydra-build-products - ''; + ''; # */ }; # Generate the NixOS manpages.