anchor.diff:  
   let
     system-x86_64 = lib.elem stdenv.system lib.platforms.x86_64;
  +  packagedQt = "5.6.0";
   in stdenv.mkDerivation rec {
     name = "telegram-desktop-${version}";
     version = "0.9.49";
  -  qtVersion = lib.replaceStrings ["."] ["_"] qtbase.version;
  +  qtVersion = lib.replaceStrings ["."] ["_"] packagedQt;
   
     src = fetchFromGitHub {
       owner = "telegramdesktop";
  
positive.code:       -e 's,LIBS += .*libz.a,LIBS += -lz,' \
        -e 's,LIBS += .*libbreakpad_client.a,LIBS += ${breakpad}/lib/libbreakpad_client.a,' \
        -e 's, -flto,,g' \
        -e 's, -static-libstdc++,,g'
  
      export QMAKE=$PWD/../qt/bin/qmake
      ( mkdir -p ../Libraries
  
negative.code:     "LIBS+=-lssl"
    ];
  
    qtSrcs = [ qtbase.src qtimageformats.src ];
    qtPatches = qtbase.patches;
  
    buildCommand = ''
  