anchor.diff: -{ lib, stdenv, fetchurl, pkgconfig, gtk2, pango, perl, python, zip, libIDL
  -, libjpeg, zlib, dbus, dbus-glib, bzip2, xorg
  +{ lib, stdenv, fetchurl, pkgconfig, gtk2, pango, perl, python, zip, fetchpatch
  +, libIDL, libjpeg, zlib, dbus, dbus-glib, bzip2, xorg
   , freetype, fontconfig, file, nspr, nss, libnotify
   , yasm, libGLU_combined, sqlite, unzip
   , hunspell, libevent, libstartup_notification
  
positive.code: 
    # from firefox + m4 + wrapperTool
    nativeBuildInputs = [ m4 autoconf213 which gnused pkgconfig perl python wrapperTool cargo rustc ];
  
    configureFlags =
      [ # from firefox, but without sound libraries (alsa, libvpx, pulseaudio)
  
negative.code:   gcc = if stdenv.cc.isGNU then stdenv.cc.cc else stdenv.cc.cc.gcc;
  in stdenv.mkDerivation rec {
    name = "thunderbird-${version}";
    version = "60.2.1";
  
    src = fetchurl {
      url = "mirror://mozilla/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.xz";
      sha512 = "018l9pq03nzlirpaf285qpwvb8s4msam8n91d15lzc1bc1caq9zcy2dnrnvn5av3jlapm9ckz028iar66nhqxi2kkqbmiaq0v4s6kfp";
    };
  
    # from firefox, but without sound libraries
  