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:
@@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, qtLib, sdkBuild ? false }:
|
{ stdenv, fetchurl, qtLib, sdkBuild ? false, withDocumentation ? true }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
@@ -36,7 +36,10 @@ stdenv.mkDerivation rec {
|
|||||||
qmake -spec linux-g++ "QT_PRIVATE_HEADERS=${qtLib}/include" qtcreator.pro
|
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 = {
|
meta = {
|
||||||
description = "Cross-platform IDE tailored to the needs of Qt developers";
|
description = "Cross-platform IDE tailored to the needs of Qt developers";
|
||||||
|
|||||||
Reference in New Issue
Block a user