Merge pull request #234190 from K900/qtcreator-qt6-fix

qtcreator-qt6: fix build with qt 6.5.1

authored by K900 and committed by GitHub fe3b3c9d 852e2588

+10
+10
pkgs/development/tools/qtcreator/qt6.nix
··· 1 1 { stdenv 2 2 , lib 3 3 , fetchurl 4 + , fetchpatch 4 5 , cmake 5 6 , pkg-config 6 7 , ninja ··· 34 35 url = "https://download.qt.io/official_releases/${pname}/${lib.versions.majorMinor version}/${version}/qt-creator-opensource-src-${version}.tar.xz"; 35 36 sha256 = "sha256-QWGwfc7A/I8xUpx9thC3FzFBKNoAei76haqbwzCXoWM="; 36 37 }; 38 + 39 + patches = [ 40 + # fix build with Qt 6.5.1 41 + # FIXME: remove for next release 42 + (fetchpatch { 43 + url = "https://github.com/qt-creator/qt-creator/commit/9817df63fb9eae342d5bf6f28f526aa09b17e8de.diff"; 44 + hash = "sha256-HIQuKroWUhJBWhVG3fyoBIFvezktCyQAuaZz/lvg7uk="; 45 + }) 46 + ]; 37 47 38 48 nativeBuildInputs = [ 39 49 cmake