ayugram-desktop: fix build with qt 6.10

This commit is contained in:
ccicnce113424
2025-10-23 20:16:32 +08:00
parent 922cdcabba
commit 60d03335e8
+10 -1
View File
@@ -1,6 +1,6 @@
{
lib,
stdenv,
fetchpatch2,
fetchFromGitHub,
nix-update-script,
telegram-desktop,
@@ -23,6 +23,15 @@ telegram-desktop.override {
fetchSubmodules = true;
};
# fix build failure with Qt 6.10
patches = fetchpatch2 {
name = "fix-build-with-qt-610.patch";
url = "https://github.com/desktop-app/cmake_helpers/commit/682f1b57.patch";
hash = "sha256-DHwgxAEFc1byQkVvrPwyctQKvUsK/KQ/cnzRv6PQuTM=";
stripLen = 1;
extraPrefix = "cmake/";
};
passthru.updateScript = nix-update-script { };
meta = previousAttrs.meta // {