diff --git a/pkgs/development/qtcreator/default.nix b/pkgs/development/qtcreator/default.nix index 339ecab870ad..1461e6232e60 100644 --- a/pkgs/development/qtcreator/default.nix +++ b/pkgs/development/qtcreator/default.nix @@ -6,17 +6,17 @@ with stdenv.lib; let - baseVersion = "4.1"; + baseVersion = "4.2"; revision = "0"; - version = "${baseVersion}.${revision}"; in stdenv.mkDerivation rec { name = "qtcreator-${version}"; + version = "${baseVersion}.${revision}"; src = fetchurl { url = "http://download.qt-project.org/official_releases/qtcreator/${baseVersion}/${version}/qt-creator-opensource-src-${version}.tar.gz"; - sha256 = "00xlzw01ngza54ssmwz2ryahjlrbniy2q3p174xri1pxvcih4b21"; + sha256 = "0yzj1i6hkzl9w1g8d5vidz7z6amwpj8p3cfibn9slf1sphxph18f"; }; buildInputs = [ qtbase qtscript qtquickcontrols qtdeclarative ]; @@ -31,6 +31,10 @@ stdenv.mkDerivation rec { installFlags = [ "INSTALL_ROOT=$(out)" ] ++ optional withDocumentation "install_docs"; + preBuild = optional withDocumentation '' + ln -s ${qtbase}/share/doc $NIX_QT5_TMP/share + ''; + postInstall = '' # Install desktop file mkdir -p "$out/share/applications" diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 465a872aa2bb..45da2f10e82b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6455,9 +6455,7 @@ in premake = premake4; - qtcreator = qt5.callPackage ../development/qtcreator { - withDocumentation = false; # 'true' is currently broken with qt>=5.5 - }; + qtcreator = qt5.callPackage ../development/qtcreator { }; r10k = callPackage ../tools/system/r10k { };