anchor.diff: -{ stdenv, lib, fetchurl, gettext, perlPackages, intltool, pkgconfig, glib,
  -  libxml2, sqlite, zlib, sg3_utils, gdk-pixbuf, taglib,
  +{ stdenv, lib, fetchurl, perlPackages, intltool, autoreconfHook,
  +  pkg-config, glib, libxml2, sqlite, zlib, sg3_utils, gdk-pixbuf, taglib,
     libimobiledevice,
     monoSupport ? false, mono, gtk-sharp-2_0
   }:
  
positive.code:   propagatedBuildInputs = [ glib libxml2 sqlite zlib sg3_utils
      gdk-pixbuf taglib libimobiledevice ];
  
    nativeBuildInputs = [ gettext intltool pkgconfig ]
      ++ (with perlPackages; [ perl XMLParser ])
      ++ lib.optionals monoSupport [ mono gtk-sharp-2_0 ];
  
  
negative.code: 
    outputs = [ "out" "dev" ];
  
    postPatch = ''
      # support libplist 2.2
      substituteInPlace configure.ac --replace 'libplist >= 1.0' 'libplist-2.0 >= 2.2'
    '';
  
    configureFlags = [
      "--without-hal"
      "--enable-udev"
      "--with-udev-dir=${placeholder "out"}/lib/udev"
    ] ++ lib.optionals monoSupport [ "--with-mono" ];
  
    dontStrip = true;
  