anchor.diff: -{ stdenv, fetchurl, perl, python2, ruby, bison, gperf, cmake
  +{ stdenv, fetchurl, perl, python2, ruby, bison, gperf, cmake, ninja
   , pkgconfig, gettext, gobjectIntrospection, libnotify, gnutls, libgcrypt
  -, gtk3, wayland, libwebp, enchant, xorg, libxkbcommon, epoxy, at-spi2-core
  +, gtk3, wayland, libwebp, enchant2, xorg, libxkbcommon, epoxy, at-spi2-core
   , libxml2, libsoup, libsecret, libxslt, harfbuzz, libpthreadstubs, pcre, nettle, libtasn1, p11-kit
   , libidn, libedit, readline, libGLU_combined, libintlOrEmpty
   , enableGeoLocation ? true, geoclue2, sqlite
  
positive.code:   cmakeFlags = [
    "-DPORT=GTK"
    "-DUSE_LIBHYPHEN=0"
    ]
    ++ optional (!enableGtk2Plugins) "-DENABLE_PLUGIN_PROCESS_GTK2=OFF"
    ++ optional stdenv.isLinux "-DENABLE_GLES2=ON"
    ++ optionals stdenv.isDarwin [
    "-DUSE_SYSTEM_MALLOC=ON"
    "-DUSE_ACCELERATE=0"
    "-DENABLE_INTROSPECTION=ON"
    "-DENABLE_MINIBROWSER=OFF"
    "-DENABLE_VIDEO=ON"
    "-DENABLE_QUARTZ_TARGET=ON"
  
negative.code:   NIX_CFLAGS_COMPILE = optionalString stdenv.isDarwin " -lintl";
  
    nativeBuildInputs = [
      cmake ninja perl python2 ruby bison gperf
      pkgconfig gettext gobjectIntrospection
    ];
  
    buildInputs = libintlOrEmpty ++ [
      libwebp enchant2 libnotify gnutls pcre nettle libidn libgcrypt woff2
      libxml2 libsecret libxslt harfbuzz libpthreadstubs libtasn1 p11-kit
      sqlite gst-plugins-base gst-plugins-bad libxkbcommon epoxy at-spi2-core
    ] ++ optional enableGeoLocation geoclue2
  