From a2ddbc422f067c09505b6e78245bea7e7058eb82 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 26 Jul 2015 14:04:54 +0200 Subject: [PATCH] xapian: Move docs to separate output This reduces xapian's "out" from 9.1 to 3.3 MB. --- pkgs/development/libraries/xapian/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/xapian/default.nix b/pkgs/development/libraries/xapian/default.nix index a9334f31ecd..89f97292d39 100644 --- a/pkgs/development/libraries/xapian/default.nix +++ b/pkgs/development/libraries/xapian/default.nix @@ -9,9 +9,11 @@ stdenv.mkDerivation rec { sha256 = "0grd2s6gf8yzqwdaa50g57j9d81mxkrrpkyldm2shgyizdc8gx33"; }; + outputs = [ "out" "doc" ]; + buildInputs = [ libuuid zlib ]; - meta = { + meta = { description = "Search engine library"; homepage = http://xapian.org/; license = stdenv.lib.licenses.gpl2Plus;