anchor.diff:  , libjpeg, giflib
   , setJavaClassPath
   , minimal ? false
  -, enableGnome2 ? true, gtk2, gnome_vfs, glib, GConf
  +, enableGnome2 ? true, gtk3, gnome_vfs, glib, GConf
   }:
   
   let
  
positive.code:     NIX_LDFLAGS= lib.optionals (!minimal) [
        "-lfontconfig" "-lcups" "-lXinerama" "-lXrandr" "-lmagic"
      ] ++ lib.optionals (!minimal && enableGnome2) [
        "-lgtk-x11-2.0" "-lgio-2.0" "-lgnomevfs-2" "-lgconf-2"
      ];
  
      buildFlags = [ "all" ];
  
negative.code:       libjpeg giflib libX11 libICE libXext libXrender libXtst libXt libXtst
        libXi libXinerama libXcursor lndir fontconfig
      ] ++ lib.optionals (!minimal && enableGnome2) [
        gtk3 gnome_vfs GConf glib
      ];
  
      patches = [
  