anchor.diff:    # Java toolchain used for the build and tests
     javaToolchain = "@bazel_tools//tools/jdk:toolchain_host${buildJdkName}";
   
  +  platforms = lib.platforms.linux ++ lib.platforms.darwin;
  +
   in
   stdenv.mkDerivation rec {
   
  
positive.code:     description = "Build tool that builds code quickly and reliably";
      license = licenses.asl20;
      maintainers = [ maintainers.mboes ];
      platforms = platforms.linux ++ platforms.darwin;
    };
  
    # Additional tests that check bazel’s functionality. Execute
  
negative.code:     let
        runLocal = name: attrs: script: runCommandCC name ({
          preferLocalBuild = true;
          meta.platforms = platforms;
        } // attrs) script;
  
        # bazel wants to extract itself into $install_dir/install every time it runs,
  