anchor.diff:        ./schema-override-variable.patch
         # Require substituteInPlace in postPatch
         ./fix-gio-launch-desktop-path.patch
  -      # https://gitlab.gnome.org/GNOME/glib/issues/1626
  -      # https://gitlab.gnome.org/GNOME/glib/merge_requests/557
  -      (fetchpatch {
  -        url = https://gitlab.gnome.org/GNOME/glib/commit/85c4031696add9797e2334ced20678edcd96c869.patch;
  -        sha256 = "1hmyvhx89wip2a26gk1rvd87k0pjfia51s0ysybjyzf5f1pzw877";
  -      })
  -      # https://gitlab.gnome.org/GNOME/glib/issues/1645
  -      (fetchpatch {
  -        url = https://gitlab.gnome.org/GNOME/glib/commit/e695ca9f310c393d8f39694f77471dbcb06daa9e.diff;
  -        sha256 = "1jkb2bdnni0xdyn86xrx9z0fdwxrm7y08lagz8x5x01wglkwa26w";
  -      })
  -      # https://gitlab.gnome.org/GNOME/glib/issues/1643
  -      (fetchpatch {
  -        url = https://gitlab.gnome.org/GNOME/glib/commit/c792e5adaa8ae3a45e6ff3ff71168ad8d040a0d4.patch;
  -        sha256 = "022x70qfn5wlv5gz3nlg0bwiwjxcd7l11j3qvbms2y8d1ffh5rfd";
  -      })
  -      (fetchpatch {
  -        url = https://gitlab.gnome.org/GNOME/glib/commit/30ccbc386026cecac6ef3a77d8fa4f3c24ac68d7.patch;
  -        sha256 = "04y3pxgzlx92cppwibx4rlsyvwxb37aq52x2lr6ajfgykv2nzpr3";
  -      })
       ];
   
     outputs = [ "bin" "out" "dev" "devdoc" ];
  
positive.code: 
    src = fetchurl {
      url = "mirror://gnome/sources/glib/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
      sha256 = "0jrxfm4gn1qz3y1450z709v74ys2bkjr8yffkgy106kgagb4xcn7";
    };
  
    patches = optional stdenv.isDarwin ./darwin-compilation.patch
  
negative.code:   '';
  
    binPrograms = optional (!stdenv.isDarwin) "gapplication" ++ [ "gdbus" "gio" "gsettings" ];
    version = "2.58.3";
  in
  
  stdenv.mkDerivation rec {
  