anchor.diff:      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";
  +  libPath = stdenv.lib.makeLibraryPath [ xorg.libX11 glib gtk3 cairo pango ];
  +  redirects = [ "/usr/bin/pkexec=${pkexecPath}" ];
   in let
     binaryPackage = stdenv.mkDerivation {
       pname = "${pname}-bin";
  
positive.code:           $binary
        done
  
        # Rewrite pkexec|gksudo argument. Note that we can't delete bytes in binary.
        sed -i -e 's,/bin/cp\x00,cp\x00\x00\x00\x00\x00\x00,g' ${primaryBinary}
  
        runHook postBuild
  
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
  