From b3ff9f5275911e1bf63b5ab2c55a48cdb70fc4f9 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 5 Feb 2009 09:55:10 +0000 Subject: [PATCH] * Qt 4: don't install the docs. svn path=/nixpkgs/trunk/; revision=13979 --- pkgs/development/libraries/qt-4/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/libraries/qt-4/default.nix b/pkgs/development/libraries/qt-4/default.nix index 426be3ef38a7..d8f8fec2bb51 100644 --- a/pkgs/development/libraries/qt-4/default.nix +++ b/pkgs/development/libraries/qt-4/default.nix @@ -56,6 +56,13 @@ stdenv.mkDerivation { sed -e 's@/usr@/FOO@' -i config.tests/*/*.test -i mkspecs/*/*.conf ''; + # Remove the documentation: it takes up >= 130 MB, which is more + # than half of the installed size. Ideally we should put this in a + # separate package (as well as the Qt Designer). + postInstall = '' + rm -rf $out/share/doc + ''; + meta = { homepage = http://www.qtsoftware.com/downloads/opensource/appdev/linux-x11-cpp; description = "A cross-platform application framework for C++";