anchor.diff:  
   , bzip2
   , cairo
  +, gksu
   , glib
   , gtk2
  +, libredirect
   , openssl
   , pango
   , xorg
  +
  +, pkexecPath ? "/var/setuid-wrappers/pkexec"
   }:
   
   with {
     inherit (stdenv)
  -    system
  -    is64bit;
  +    system;
     inherit (stdenv.lib)
       makeLibraryPath
       optionalString;
   };
   
   let
  -  version = "3083";
  +  version = "3103";
   in
  +
  +assert stdenv.system != "x86_64-linux" ->
  +  throw "Sublime Text is not supported on the `${system}` platform";
   
   let
     sublime-text-bin = stdenv.mkDerivation rec {
       name = "sublime-text-bin-${version}";
   
       src = fetchurl {
  -      url =
  -        "http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_${version}" +
  -        "${if system == "x86_64-linux" then
  -            "_x64"
  -          else
  -            null
  -          }.tar.bz2";
  -      sha256 =
  -        if system == "i686-linux" then
  -          "0r9irk2gdwdx0dk7lgssr4krfvf3lf71pzaz5hyjc704zaxf5s49"
  -        else if system == "x86_64-linux" then
  -          "1vhlrqz7xscmjnxpz60mdpvflanl26d7673ml7psd75n0zvcfra5"
  -        else
  -          throw "Sublime Text is not supported on the `${system}` platform";
  +      url = "https://download.sublimetext.com/"
  +          + "sublime_text_3_build_${version}_x64.tar.bz2";
  +      sha256 = "1x8kb3prs6wa5s5rj0gfq96zx6k5q3s168yhfsa36x2szi6x6y4x";
       };
  -
  -    patchPhase = ''
  -      # Fix paths
  -      sed \
  -        -e 's,/opt/sublime_text/,,' \
  -        -e 's,sublime-text,sublime_text,' \
  -        -i sublime_text.desktop
  -
  -      # Rename icon file
  -      mv -v Icon/256x256/sublime-text.png Icon/256x256/sublime_text.png
  -    '';
   
       nativeBuildInputs = [
         makeWrapper
  
positive.code:       xorg.libX11
      ];
  
      buildPhase = ''
        for i in sublime_text plugin_host crash_reporter ; do
          patchelf \
            --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
            --set-rpath ${libPath}:${stdenv.cc.cc}/lib${optionalString is64bit "64"} \
            $i
        done
      '';
  
      installPhase = ''
        mkdir -p $out/
        cp -prvd * $out/
  
        # Without this, plugin_host crashes, even though it has the rpath
        wrapProgram \
          $out/plugin_host \
          --prefix LD_PRELOAD : ${stdenv.cc.cc}/lib${optionalString is64bit "64"}/libgcc_s.so.1:${openssl}/lib/libssl.so:${bzip2}/lib/libbz2.so
      '';
  
      dontStrip = true;
      dontPatchELF = true;
      enableParallelBuilding = true;
    };
  in
  
  
negative.code:   ];
  
    installPhase = ''
      mkdir -pv $out/bin
      ln -sv ${sublime-text-bin}/sublime_text $out/bin/sublime_text
      ln -sv ${sublime-text-bin}/sublime_text $out/bin/subl
  
      mkdir -pv $out/share/applications
      ln -sv ${sublime-text-bin}/sublime_text.desktop $out/share/applications
      mkdir -pv $out/share/icons
      ln -sv ${sublime-text-bin}/Icon/256x256/sublime_text.png $out/share/icons
    '';
  
    meta = with stdenv.lib; {
      description = "Sophisticated text editor for code, markup and prose";
  