anchor.diff:      homepage = "https://tabnine.com";
       description = "Smart Compose for code that uses deep learning to help you write code faster";
       license = licenses.unfree;
  -    platforms = [ "x86_64-darwin" "aarch64-darwin" "x86_64-linux" ];
  +    platforms = attrNames supportedPlatforms;
       maintainers = with maintainers; [ lovesegfault ];
     };
   }
  
positive.code: { stdenv, lib, fetchurl, unzip }:
  let
    supportedPlatforms = {
      "x86_64-linux" = {
        name = "x86_64-unknown-linux-musl";
        sha256 = "sha256-On+Sokm2+BV3JbIwK8oPO6882FOWBlgSaAp3VAyR+RM=";
      };
      "x86_64-darwin" = {
        name = "x86_64-apple-darwin";
        sha256 = "sha256-4YCm42mVcsEvY4I5MWrnbfgUIU7KUIrEirvjN8ISIr0=";
      };
      "aarch64-darwin" = {
        name = "aarch64-apple-darwin";
        sha256 = "sha256-HN4o5bGX389eAR7ea5EY1JlId8q4lSPGJ4cZo9c2aP4=";
      };
    };
    platform =
  
negative.code:     else
        throw "Not supported on ${stdenv.hostPlatform.system}";
  in
  stdenv.mkDerivation {
    pname = "tabnine";
    inherit version;
  
    src = fetchurl {
      url = "https://update.tabnine.com/bundles/${version}/${platform.name}/TabNine.zip";
  