From 775f5b05fc9090101cab4a94258f2f013337b00c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Tue, 11 Aug 2009 16:26:12 +0000 Subject: [PATCH] Tahoe: Install the doc. svn path=/nixpkgs/trunk/; revision=16676 --- pkgs/tools/networking/p2p/tahoe/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/tools/networking/p2p/tahoe/default.nix b/pkgs/tools/networking/p2p/tahoe/default.nix index 73e419e088c..f5cb2316d66 100644 --- a/pkgs/tools/networking/p2p/tahoe/default.nix +++ b/pkgs/tools/networking/p2p/tahoe/default.nix @@ -40,6 +40,18 @@ buildPythonPackage (rec { # them to run. doCheck = false; + postInstall = '' + # Install the documentation. + + # FIXME: Inkscape setfaults when run from here. Setting $HOME to + # something writable doesn't help; providing $FONTCONFIG_FILE doesn't + # help either. So we just don't run `make' under `docs/'. + + ensureDir "$out/share/doc/${name}" + cp -rv "docs/"* "$out/share/doc/${name}" + find "$out/share/doc/${name}" -name Makefile -exec rm -v {} \; + ''; + meta = { description = "Tahoe, a decentralized, fault-tolerant, distributed storage system";