summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-08-11 16:26:12 +0000
committerLudovic Courtès <ludo@gnu.org>2009-08-11 16:26:12 +0000
commit775f5b05fc9090101cab4a94258f2f013337b00c (patch)
tree2473aad5979cc94aba78d1916b94452b98c5125c /pkgs
parent4a4f864c6f687e2ca73111ce0ccc86bd7f870ba1 (diff)
downloadnixpkgs-775f5b05fc9090101cab4a94258f2f013337b00c.tar
nixpkgs-775f5b05fc9090101cab4a94258f2f013337b00c.tar.gz
nixpkgs-775f5b05fc9090101cab4a94258f2f013337b00c.tar.bz2
nixpkgs-775f5b05fc9090101cab4a94258f2f013337b00c.tar.lz
nixpkgs-775f5b05fc9090101cab4a94258f2f013337b00c.tar.xz
nixpkgs-775f5b05fc9090101cab4a94258f2f013337b00c.tar.zst
nixpkgs-775f5b05fc9090101cab4a94258f2f013337b00c.zip
Tahoe: Install the doc.
svn path=/nixpkgs/trunk/; revision=16676
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/networking/p2p/tahoe/default.nix12
1 files changed, 12 insertions, 0 deletions
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";