anchor.diff:      xorg.libX11 xorg.libXrender xorg.libXft xorg.libXt file
       xorg.pixman yasm libGLU libGL
       xorg.xorgproto
  +    xorg.libXdamage
       xorg.libXext makeWrapper
       libevent libstartup_notification /* cairo */
       libpng jemalloc glib
  
positive.code: , pulseaudioSupport ? stdenv.isLinux, libpulseaudio
  , ffmpegSupport ? true
  , gtk3Support ? true, gtk2, gtk3, wrapGAppsHook
  , waylandSupport ? true, libxkbcommon
  , ltoSupport ? (stdenv.isLinux && stdenv.is64bit), overrideCC, buildPackages
  , gssSupport ? true, libkrb5
  , pipewireSupport ? waylandSupport && webrtcSupport, pipewire
  
negative.code:   ++ lib.optional  pulseaudioSupport libpulseaudio # only headers are needed
    ++ lib.optional  gtk3Support gtk3
    ++ lib.optional  gssSupport libkrb5
    ++ lib.optionals waylandSupport [ libxkbcommon libdrm ]
    ++ lib.optional  pipewireSupport pipewire
    ++ lib.optional  (lib.versionAtLeast ffversion "82") gnum4
    ++ lib.optionals buildStdenv.isDarwin [ CoreMedia ExceptionHandling Kerberos
  