anchor.diff:    dontWrapGApps = true;
     dontWrapQtApps = true;
   
  -  nativeBuildInputs = [ pkgconfig cmake ninja python3 wrapGAppsHook wrapQtAppsHook ];
  +  nativeBuildInputs = [ pkgconfig cmake ninja python3 wrapGAppsHook wrapQtAppsHook removeReferencesTo ];
   
     buildInputs = [
       qtbase qtimageformats gtk3 libsForQt5.libdbusmenu enchant2 lz4 xxHash
  
positive.code: 
  in mkDerivation rec {
    pname = "telegram-desktop";
    version = "2.4.3";
  
    # Telegram-Desktop with submodules
    src = fetchurl {
      url = "https://github.com/telegramdesktop/tdesktop/releases/download/v${version}/tdesktop-${version}-full.tar.gz";
      sha256 = "15a8pnz4wf3464n8dvfzr9ck0vmhlx16ya1y889y3crjagm4ipjn";
    };
  
    postPatch = ''
  
negative.code: { mkDerivation, lib, fetchurl, callPackage
  , pkgconfig, cmake, ninja, python3, wrapGAppsHook, wrapQtAppsHook, removeReferencesTo
  , qtbase, qtimageformats, gtk3, libsForQt5, enchant2, lz4, xxHash
  , dee, ffmpeg, openalSoft, minizip, libopus, alsaLib, libpulseaudio, range-v3
  , tl-expected, hunspell
  