anchor.diff:        installPhase
       )
   
  -    ( mkdir -p Linux/DebugIntermediateStyle
  -      cd Linux/DebugIntermediateStyle
  -      qmake CONFIG+=debug ../../Telegram/MetaStyle.pro
  -      buildPhase
  -    )
  -    ( mkdir -p Linux/DebugIntermediateLang
  -      cd Linux/DebugIntermediateLang
  -      qmake CONFIG+=debug ../../Telegram/MetaLang.pro
  -      buildPhase
  -    )
  -
       ( mkdir -p Linux/ReleaseIntermediate
         cd Linux/ReleaseIntermediate
         qmake $qmakeFlags ../../Telegram/Telegram.pro
  
positive.code:       -e 's,-flto ,,g'
      echo "Q_IMPORT_PLUGIN(QXcbIntegrationPlugin)" >> Telegram/SourceFiles/stdafx.cpp
  
      ( mkdir -p ../Libraries
        cd ../Libraries
        for i in $qtSrcs; do
  
negative.code:   system-x86_64 = lib.elem stdenv.system lib.platforms.x86_64;
  in stdenv.mkDerivation rec {
    name = "telegram-desktop-${version}";
    version = "0.9.44";
    qtVersion = lib.replaceStrings ["."] ["_"] qtbase.version;
  
    src = fetchFromGitHub {
      owner = "telegramdesktop";
      repo = "tdesktop";
      rev = "v${version}";
      sha256 = "0ydd5yhy2nq4n6x59ajb6c4d0blyj6gm7hkx4hfrx2a88iksc5rm";
    };
  
    tgaur = fetchgit {
      url = "https://aur.archlinux.org/telegram-desktop.git";
      rev = "f8907d1ccaf8345c06232238342921213270e3d8";
      sha256 = "1fsp098ykpf5gynn3lq3qcj3a47bkjfr0l96pymmmfd4a2s1690v";
    };
  
    buildInputs = [
  