anchor.diff:    buildInputs = [
       dbus_glib
       glib
  -    popt
       gobject-introspection
  -    xorg.libICE
       xorg.libSM
       xorg.libX11
       xorg.libXi
       xorg.libXtst
  -    xorg.xextproto
     ];
   
  -  enableParallelBuilding = true;
  +  configureFlags = [
  +    "--enable-nls"
  +    (enFlag "x11" (xorg != null) null)
  +    # xevie is deprecated/broken since xorg-1.6/1.7
  +    "--disable-xevie"
  +    (enFlag "introspection" (gobject-introspection != null) null)
  +    "--disable-gtk-doc"
  +    "--disable-gtk-doc-html"
  +    "--disable-gtk-doc-pdf"
  +    (enFlag "x" (xorg != null) null)
  +    "--with-dbus-daemondir=/run/current-system/sw/bin/"
  +  ];
   
     meta = with stdenv.lib; {
       description = "D-Bus accessibility specifications and registration daemon";
  
positive.code:     sha256 = "0afn4x04j5l352vj0dccb2hkpzg3l2vhr8h1yv89fpqmjkfnm8md";
    };
  
    configureFlags = [
      "--enable-nls"
      "--enable-x11"
      "--disable-xevie"
      "--enable-introspection"
      "--disable-gtk-doc"
      "--disable-gtk-doc-html"
      "--disable-gtk-doc-pdf"
      "--with-x"
      "--with-dbus-daemondir=/run/current-system/sw/bin/"
    ];
  
    nativeBuildInputs = [
      intltool
      python
  
negative.code: , dbus_glib
  , glib
  , gobject-introspection
  , xorg
  }:
  
  with {
    inherit (stdenv.lib)
      enFlag;
  };
  
  assert xorg != null ->
    xorg.libSM != null
    && xorg.libX11 != null
    && xorg.libXi != null
    && xorg.libXtst != null;
  
  stdenv.mkDerivation rec {
    name = "at-spi2-core-${version}";
  