anchor.diff:      xvfb-run
     ];
   
  -  prePatch = ''
  -    patchShebangs build-aux/meson/post_install.py
  -  '';
  -
     mesonFlags = [
       "-Ddocs=true"
   
  
positive.code:   # Some tests fail due to being unable to find the Vte typelib, and I don't
    # understand why. Somebody should look into fixing this.
    doCheck = true;
  
    checkPhase = ''
      export NO_AT_BRIDGE=1
  
negative.code: 
  stdenv.mkDerivation rec {
    pname = "gnome-builder";
    version = "42.alpha1";
  
    outputs = [ "out" "devdoc" ];
  
    src = fetchurl {
      url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
      sha256 = "AtJ+Op2ChWWgcREWFb3zqyp1CzBb/469BwJXK3DuWnc=";
    };
  
    patches = [
      # Fix building docs
      # https://gitlab.gnome.org/GNOME/gnome-builder/-/merge_requests/530
      (fetchpatch {
        url = "https://gitlab.gnome.org/GNOME/gnome-builder/-/commit/e2b369ec056ff43701803c5e5185fa2ac391d238.patch";
        sha256 = "OI2CMtA0M9u6/5xmWm4i+bXOKDXmtYprCONNCU2aOj0=";
      })
    ];
  
  