mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
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:
parent
7e3815c336
commit
6f98561c1a
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user