qtcreator: install documentation

qtcreator displays an error when accessing help, unless we have
installed documentation. That seems like a packaging bug to me and is
definitely unfriendly (default) behaviour.

This change increases the closure size from 56 MiB to 68 MiB.
This commit is contained in:
Bjørn Forsman 2014-08-02 20:21:03 +02:00
parent 7e3815c336
commit 6f98561c1a

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, qtLib, sdkBuild ? false }:
{ stdenv, fetchurl, qtLib, sdkBuild ? false, withDocumentation ? true }:
with stdenv.lib;
@ -36,7 +36,10 @@ stdenv.mkDerivation rec {
qmake -spec linux-g++ "QT_PRIVATE_HEADERS=${qtLib}/include" qtcreator.pro
'';
installFlags = "INSTALL_ROOT=$(out)";
buildFlags = optionalString withDocumentation " docs";
installFlags = "INSTALL_ROOT=$(out)"
+ optionalString withDocumentation " install_docs";
meta = {
description = "Cross-platform IDE tailored to the needs of Qt developers";