From f0c46678677d0be3c74a67fe6d49aa85d35f8e0c Mon Sep 17 00:00:00 2001 From: K900 Date: Fri, 26 May 2023 13:03:38 +0300 Subject: [PATCH] qtcreator-qt6: fix build with qt 6.5.1 --- pkgs/development/tools/qtcreator/qt6.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/tools/qtcreator/qt6.nix b/pkgs/development/tools/qtcreator/qt6.nix index 77dc7f7fdee..89b57eb9eb9 100644 --- a/pkgs/development/tools/qtcreator/qt6.nix +++ b/pkgs/development/tools/qtcreator/qt6.nix @@ -1,6 +1,7 @@ { stdenv , lib , fetchurl +, fetchpatch , cmake , pkg-config , ninja @@ -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