Unverified Commit 3b3d7db6 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

_64gram: add qt 6.9 patch (#403426)

parents 57e7f759 3975b884
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -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)
    ];