summaryrefslogtreecommitdiffstats
path: root/pkgs/development/qtcreator
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2014-08-02 20:21:03 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2014-08-02 21:10:50 +0200
commit6f98561c1a831b5fa4d92e1d12c41d4e70ef96db (patch)
treeac385a58d87d77c480f52bf59bdca3eb125ba518 /pkgs/development/qtcreator
parent7e3815c336b0b97d37c0a0990254466f7c914af4 (diff)
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.
Diffstat (limited to 'pkgs/development/qtcreator')
-rw-r--r--pkgs/development/qtcreator/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/qtcreator/default.nix b/pkgs/development/qtcreator/default.nix
index 2b0410f0874e..fd4483dbd6c2 100644
--- a/pkgs/development/qtcreator/default.nix
+++ b/pkgs/development/qtcreator/default.nix
@@ -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";