anchor.diff:        "''${gappsWrapperArgs[@]}" \
         "''${qtWrapperArgs[@]}" \
         --prefix PATH : ${xdg_utils}/bin \
  -      --set XDG_RUNTIME_DIR "XDG-RUNTIME-DIR" \
  -      --unset QT_QPA_PLATFORMTHEME # From the Arch wrapper
  +      --set XDG_RUNTIME_DIR "XDG-RUNTIME-DIR"
       sed -i $out/bin/telegram-desktop \
         -e "s,'XDG-RUNTIME-DIR',\"\''${XDG_RUNTIME_DIR:-/run/user/\$(id --user)}\","
     '';
  
positive.code: 
  mkDerivation rec {
    pname = "telegram-desktop";
    version = "1.9.14";
  
    # Telegram-Desktop with submodules
    src = fetchurl {
      url = "https://github.com/telegramdesktop/tdesktop/releases/download/v${version}/tdesktop-${version}-full.tar.gz";
      sha256 = "0jsss4b51ylf4qk58frvh2yap1s3cjf3isnlc273cc0fh5g1skc6";
    };
  
    postPatch = ''
  
negative.code:   buildInputs = [
      qtbase qtimageformats gtk3 libsForQt5.libdbusmenu enchant2 lz4 xxHash
      dee ffmpeg_4 openalSoft minizip libopus alsaLib libpulseaudio range-v3
      tl-expected microsoft_gsl hunspell
      # TODO: Shouldn't be required:
      pcre xorg.libpthreadstubs xorg.libXdmcp utillinux libselinux libsepol epoxy at-spi2-core libXtst
    ];
  