anchor.diff:      ];
       license = licenses.unfreeRedistributable;
       platforms = [
  -      "i686-linux"
         "x86_64-linux"
       ];
     };
  
positive.code: 
  , bzip2
  , cairo
  , glib
  , gtk2
  , openssl
  , pango
  , xorg
  }:
  
  with {
    inherit (stdenv)
      system
      is64bit;
    inherit (stdenv.lib)
      makeLibraryPath
      optionalString;
  };
  
  let
    version = "3083";
  in
  
  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";
      };
  
      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
  
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";
  