anchor.diff:    configureFlags = "--with-pcre=system --disable-fam";
   
     postConfigure = "sed '/SANE_MALLOC_PROTOS/s,^,//,' -i config.h";
  +
  +  NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
   
     enableParallelBuilding = true;
   
  
positive.code: { stdenv, fetchurl, pkgconfig, gettext, perl, libiconvOrEmpty, zlib, libffi
  , python, pcre, libelf }:
  
  # TODO:
  # * Add gio-module-fam
  
negative.code:   };
  
    # configure script looks for d-bus but it is only needed for tests
    buildInputs = [ libelf ] ++ libintlOrEmpty;
  
    nativeBuildInputs = [ perl pkgconfig gettext python ];
  
  