anchor.diff:    # The tests take an excessive amount of time (> 1.5 hours) and memory (> 6 GB).
     inherit doCheck;
   
  +  setupHook = ./setup-hook.sh;
  +
     passthru = {
       updateScript = gnome3.updateScript {
         packageName = pname;
  
positive.code: 
    meta = with stdenv.lib; {
      description = "A library for image loading and manipulation";
      homepage = "http://library.gnome.org/devel/gdk-pixbuf/";
      maintainers = [ maintainers.eelco ];
      license = licenses.lgpl21;
      platforms = platforms.unix;
    };
  
negative.code: { stdenv
  , fetchurl
  , nixosTests
  , fixDarwinDylibNames
  , meson
  , ninja
  , pkg-config
  , gettext
  , python3
  , libxml2
  , libxslt
  , docbook-xsl-nons
  , docbook_xml_dtd_43
  , gtk-doc
  , glib
  , libtiff
  , libjpeg
  , libpng
  , libX11
  , gnome3
  , gobject-introspection
  , doCheck ? false
  , makeWrapper
  , fetchpatch
  }:
  
  stdenv.mkDerivation rec {
    pname = "gdk-pixbuf";
    version = "2.40.0";
  
    outputs = [ "out" "dev" "man" "devdoc" "installedTests" ];
  
    src = fetchurl {
      url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
      sha256 = "1rnlx9yfw970maxi2x6niaxmih5la11q1ilr7gzshz2kk585k0hm";
    };
  
    patches = [
      # Move installed tests to a separate output
      ./installed-tests-path.patch
  
      # Temporary until the fix is released.
      (fetchpatch {
        name = "tests-circular-table.patch";
  