anchor.diff:  
       dontStrip = true;
       dontPatchELF = true;
  -    buildInputs = stdenv.lib.optionals (!usesGtk2) [ glib gtk3 ]; # for GSETTINGS_SCHEMAS_PATH
  -    nativeBuildInputs = [ zip unzip makeWrapper ] ++ stdenv.lib.optional (!usesGtk2) wrapGAppsHook;
  +    buildInputs = [ glib gtk3 ]; # for GSETTINGS_SCHEMAS_PATH
  +    nativeBuildInputs = [ zip unzip makeWrapper wrapGAppsHook ];
   
       # make exec.py in Default.sublime-package use own bash with an LD_PRELOAD instead of "/bin/bash"
       patchPhase = ''
  
positive.code:     else
        "x64";
  
    libPath = stdenv.lib.makeLibraryPath [ xorg.libX11 glib (if usesGtk2 then gtk2 else gtk3) cairo pango ];
    redirects = [ "/usr/bin/pkexec=${pkexecPath}" ]
      ++ stdenv.lib.optional gksuSupport "/usr/bin/gksudo=${gksu}/bin/gksudo";
  in let
    binaryPackage = stdenv.mkDerivation {
      pname = "${pname}-bin";
  
negative.code:         --set LD_PRELOAD "${libredirect}/lib/libredirect.so" \
          --set NIX_REDIRECTS ${builtins.concatStringsSep ":" redirects} \
          --set LOCALE_ARCHIVE "${glibcLocales.out}/lib/locale/locale-archive" \
          "''${gappsWrapperArgs[@]}"
  
        # Without this, plugin_host crashes, even though it has the rpath
        wrapProgram $out/plugin_host --prefix LD_PRELOAD : ${stdenv.cc.cc.lib}/lib${stdenv.lib.optionalString stdenv.is64bit "64"}/libgcc_s.so.1:${openssl.out}/lib/libssl.so:${bzip2.out}/lib/libbz2.so
  