anchor.diff: -{ stdenv, fetchurl, pkgconfig, dbus-glib, glib, ORBit2, libxml2, polkit, python2, intltool }:
  +{ stdenv, fetchurl, pkgconfig, dbus-glib, glib, ORBit2, libxml2, polkit, python3, intltool }:
   
   stdenv.mkDerivation rec {
     pname = "gconf";
  
positive.code:     # fixes the "libgconfbackend-oldxml.so is not portable" error on darwin
      stdenv.lib.optional stdenv.isDarwin [ "--enable-static" ];
  
    meta = with stdenv.lib; {
      homepage = https://projects.gnome.org/gconf/;
      description = "Deprecated system for storing application preferences";
  
negative.code: 
    outputs = [ "out" "dev" "man" ];
  
    buildInputs = [ ORBit2 libxml2 python3 ]
      # polkit requires pam, which requires shadow.h, which is not available on
      # darwin
      ++ stdenv.lib.optional (!stdenv.isDarwin) polkit;
  