anchor.diff:        substituteInPlace \
           qtbase/src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp \
           --replace "@libX11@" "${libX11.out}"
  -    ''
  -    + lib.optionalString gtkStyle ''
  -      substituteInPlace qtbase/src/widgets/styles/qgtk2painter.cpp --replace "@gtk@" "${gtk.out}"
  -      substituteInPlace qtbase/src/widgets/styles/qgtkstyle_p.cpp \
  -        --replace "@gtk@" "${gtk.out}" \
  -        --replace "@gnome_vfs@" "${gnome_vfs.out}" \
  -        --replace "@libgnomeui@" "${libgnomeui.out}" \
  -        --replace "@gconf@" "${GConf.out}"
       ''
       + lib.optionalString mesaSupported ''
         substituteInPlace \
  
positive.code:         --replace "@mesa_lib@" "${mesa.out}" \
          --replace "@mesa_inc@" "${mesa.dev}"
      '';
  
    setOutputFlags = false;
    preConfigure = ''
  
negative.code: , buildExamples ? false
  , buildTests ? false
  , developerBuild ? false
  , gtkStyle ? true, libgnomeui, GConf, gnome_vfs, gtk
  , decryptSslTraffic ? false
  }:
  
  let
    inherit (srcs.qt5) version;
    system-x86_64 = lib.elem stdenv.system lib.platforms.x86_64;
  
    # Search path for Gtk plugin
    gtkLibPath = lib.makeLibraryPath [ gtk.out gnome_vfs.out libgnomeui.out GConf.out ];
  
    dontInvalidateBacking = fetchurl {
      url = "https://codereview.qt-project.org/gitweb?p=qt/qtbase.git;a=patch;h=0f68f8920573cdce1729a285a92ac8582df32841;hp=24c50f8dcf7fa61ac3c3d4d6295c259a104a2b8c";
  