Skip to content

Commit

Permalink
qtcreator-qt6: fix build with qt 6.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
K900 committed May 26, 2023
1 parent 7d4e951 commit f0c4667
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkgs/development/tools/qtcreator/qt6.nix
@@ -1,6 +1,7 @@
{ stdenv
, lib
, fetchurl
, fetchpatch
, cmake
, pkg-config
, ninja
Expand Down Expand Up @@ -35,6 +36,15 @@ stdenv.mkDerivation rec {
sha256 = "sha256-QWGwfc7A/I8xUpx9thC3FzFBKNoAei76haqbwzCXoWM=";
};

patches = [
# fix build with Qt 6.5.1
# FIXME: remove for next release
(fetchpatch {
url = "https://github.com/qt-creator/qt-creator/commit/9817df63fb9eae342d5bf6f28f526aa09b17e8de.diff";
hash = "sha256-HIQuKroWUhJBWhVG3fyoBIFvezktCyQAuaZz/lvg7uk=";
})
];

nativeBuildInputs = [
cmake
pkg-config
Expand Down

0 comments on commit f0c4667

Please sign in to comment.