anchor.diff:            ++ lib.optional (cfg.enableUgetIntegrator or false) uget-integrator
             ++ extraNativeMessagingHosts
           );
  -      libs = (if ffmpegSupport then [ ffmpeg ] else with gst_all; [ gstreamer gst-plugins-base ])
  +      libs = lib.optional ffmpegSupport ffmpeg
               ++ lib.optional gssSupport kerberos
               ++ lib.optionals (cfg.enableQuakeLive or false)
               (with xorg; [ stdenv.cc libX11 libXxf86dga libXxf86vm libXext libXt alsaLib zlib libudev ])
               ++ lib.optional (enableAdobeFlash && (cfg.enableAdobeFlashDRM or false)) hal-flash
               ++ lib.optional (config.pulseaudio or true) libpulseaudio;
  -      gst-plugins = with gst_all; [ gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-ffmpeg ];
         gtk_modules = [ libcanberra-gtk2 ];
   
       in stdenv.mkDerivation {
  
positive.code:             --suffix PATH ':' "$out/bin" \
              --set MOZ_APP_LAUNCHER "${browserName}${nameSuffix}" \
              --set MOZ_SYSTEM_DIR "$out/lib/mozilla" \
              ${lib.optionalString (!ffmpegSupport)
                  ''--prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH"''
              + lib.optionalString (browser ? gtk3)
                  ''--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \
                    --suffix XDG_DATA_DIRS : '${gnome3.defaultIconTheme}/share'
                  ''
  
negative.code: 
  ## various stuff that can be plugged in
  , flashplayer, hal-flash
  , MPlayerPlugin, ffmpeg, xorg, libpulseaudio, libcanberra-gtk2
  , jrePlugin, icedtea_web
  , trezor-bridge, bluejeans, djview4, adobe-reader
  , google_talk_plugin, fribid, gnome3/*.gnome-shell*/
  