From 3975b884ca2e882f9e13faaabb3d7749a4886b76 Mon Sep 17 00:00:00 2001 From: Marcin Serwin Date: Thu, 1 May 2025 10:03:02 +0200 Subject: [PATCH] _64gram: add qt 6.9 patch --- pkgs/by-name/_6/_64gram/package.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pkgs/by-name/_6/_64gram/package.nix b/pkgs/by-name/_6/_64gram/package.nix index fdb973da8264..b9dca41b39ae 100644 --- a/pkgs/by-name/_6/_64gram/package.nix +++ b/pkgs/by-name/_6/_64gram/package.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitHub, + fetchpatch, telegram-desktop, withWebkit ? true, }: @@ -21,6 +22,16 @@ telegram-desktop.override { fetchSubmodules = true; }; + patches = [ + (fetchpatch { + # https://github.com/desktop-app/lib_base/pull/268 + url = "https://github.com/desktop-app/lib_base/commit/c952da37294b958e896b27528e7834f0892faa0a.patch"; + extraPrefix = "Telegram/lib_base/"; + stripLen = 1; + hash = "sha256-xiq8WLAiSZwpvdyK5JbRAdQ9us93+9oMmeMBqVb1TbI="; + }) + ]; + cmakeFlags = (old.cmakeFlags or [ ]) ++ [ (lib.cmakeBool "DESKTOP_APP_DISABLE_AUTOUPDATE" true) ];