anchor.diff:  { lib, stdenv, fetchFromGitLab, cmake, ninja, pkg-config, wrapGAppsHook
   , glib, gtk3, gettext, libxkbfile, libX11
  -, freerdp, libssh, libgcrypt, gnutls
  +, freerdp, libssh, libgcrypt, gnutls, vte
   , pcre2, libdbusmenu-gtk3, libappindicator-gtk3
   , libvncserver, libpthreadstubs, libXdmcp, libxkbcommon
   , libsecret, libsoup, spice-protocol, spice-gtk, libepoxy, at-spi2-core
  
positive.code: # The themes here are soft dependencies; only icons are missing without them.
  , gnome
  , withLibsecret ? true
  }:
  
  with lib;
  
negative.code:     libsoup spice-protocol spice-gtk libepoxy at-spi2-core
      openssl gnome.adwaita-icon-theme json-glib libsodium webkitgtk
      harfbuzz
    ] ++ optionals withLibsecret [ libsecret ]
      ++ optionals withVte [ vte ];
  
    cmakeFlags = [
      "-DWITH_VTE=${if withVte then "ON" else "OFF"}"
      "-DWITH_TELEPATHY=OFF"
      "-DWITH_AVAHI=OFF"
      "-DWITH_LIBSECRET=${if withLibsecret then "ON" else "OFF"}"
  