anchor.diff:        url = "https://bug757142.bugzilla-attachments.gnome.org/attachment.cgi?id=344123";
         sha256 = "0g6fhqcv8spfy3mfmxpyji93k8d4p4q4fz1v9a1c1cgcwkz41d7p";
       })
  -    # 3.24.3: https://gitlab.gnome.org/GNOME/gtk/merge_requests/505
       (fetchpatch {
  -      url = https://gitlab.gnome.org/GNOME/gtk/commit/95c0f07295fd300ab7f3416a39290ae33585ea6c.patch;
  -      sha256 = "0z9w7f39xcn1cbcd8jhx731vq64nvi5q6kyc86bq8r00daysjwnl";
  +      name = "fix-fribidi-linking.patch";
  +      url = https://github.com/gnome/gtk/compare/3.24.5..47e4a111c2666961ab47b6df48460d3c9075d92d.patch;
  +      sha256 = "0ky4kmgcywg0qlwndn9aw083bkwnkr49bnlsz0ii93fxzvbiqglr";
       })
     ] ++ optionals stdenv.isDarwin [
       # X11 module requires <gio/gdesktopappinfo.h> which is not installed on Darwin
  
positive.code: { stdenv, fetchurl, fetchpatch, pkgconfig, gettext, perl, makeWrapper, shared-mime-info, isocodes
  , expat, glib, cairo, pango, gdk_pixbuf, atk, at-spi2-atk, gobject-introspection
  , xorg, epoxy, json-glib, libxkbcommon, gmp, gnome3
  , x11Support ? stdenv.isLinux
  , waylandSupport ? stdenv.isLinux, mesa_noglu, wayland, wayland-protocols
  , xineramaSupport ? stdenv.isLinux
  
negative.code: with stdenv.lib;
  
  let
    version = "3.24.5";
  in
  stdenv.mkDerivation rec {
    name = "gtk+3-${version}";
  
    src = fetchurl {
      url = "mirror://gnome/sources/gtk+/${stdenv.lib.versions.majorMinor version}/gtk+-${version}.tar.xz";
      sha256 = "0bxhvnixc1hjxbzx063lghmix0wmv282khsqmckdxhrb606zpr8b";
    };
  
    outputs = [ "out" "dev" ];
    outputBin = "dev";
  
    nativeBuildInputs = [ pkgconfig gettext gobject-introspection perl makeWrapper autoreconfHook ];
  
    patches = [
      ./3.0-immodules.cache.patch
  