anchor.diff:    buildInputs = [
       qtbase qtimageformats gtk3 libsForQt5.kwayland libsForQt5.libdbusmenu enchant2 lz4 xxHash
       dee ffmpeg openalSoft minizip libopus alsaLib libpulseaudio range-v3
  -    tl-expected hunspell glibmm
  +    tl-expected hunspell glibmm webkitgtk
       tg_owt
       # Transitive dependencies:
       pcre xorg.libpthreadstubs xorg.libXdmcp util-linux libselinux libsepol epoxy
  
positive.code:       --replace '"libenchant-2.so.2"' '"${enchant2}/lib/libenchant-2.so.2"'
      substituteInPlace Telegram/CMakeLists.txt \
        --replace '"''${TDESKTOP_LAUNCHER_BASENAME}.appdata.xml"' '"''${TDESKTOP_LAUNCHER_BASENAME}.metainfo.xml"'
      patch -d Telegram/ThirdParty/tgcalls/ -p1 < "${tgcalls-gcc10-fix}"
    '';
  
    # We want to run wrapProgram manually (with additional parameters)
  
negative.code: 
  let
    tg_owt = callPackage ./tg_owt.nix {};
    webviewPatch = fetchpatch {
      url = "https://raw.githubusercontent.com/archlinux/svntogit-community/013eff77a13b6c2629a04e07a4d09dbe60c8ca48/trunk/fix-webview-includes.patch";
      sha256 = "0112zaysf3f02dd4bgqc5hwg66h1bfj8r4yjzb06sfi0pl9vl96l";
    };
  
  in mkDerivation rec {
    pname = "telegram-desktop";
    version = "2.7.4";
  
    # Telegram-Desktop with submodules
    src = fetchurl {
      url = "https://github.com/telegramdesktop/tdesktop/releases/download/v${version}/tdesktop-${version}-full.tar.gz";
      sha256 = "1cigqvxa8lp79y7sp2w2izmmikxaxzrq9bh5ns3cy16z985nyllp";
    };
  
    postPatch = ''
  