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

qtcreator-qt6: fix build with qt 6.5.1
This commit is contained in:
K900 2023-05-26 14:02:05 +03:00 committed by GitHub
commit fe3b3c9dfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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