anchor.diff:    esPlugin = a@{
       pluginName,
       installPhase ? ''
  -      mkdir -p $out/bin
  -      ES_HOME=$out ${elasticsearch}/bin/elasticsearch-plugin --install ${pluginName} --url file://$src
  +      mkdir -p $out/config
  +      mkdir -p $out/plugins
  +      ES_HOME=$out ${elasticsearch-oss}/bin/elasticsearch-plugin install --batch -v file://$src
       '',
       ...
     }:
  
positive.code: { pkgs,  stdenv, fetchurl, unzip, elasticsearch }:
  
  with pkgs.lib;
  
  
negative.code:       unpackPhase = "true";
        buildInputs = [ unzip ];
        meta = a.meta // {
          platforms = elasticsearch-oss.meta.platforms;
          maintainers = (a.meta.maintainers or []) ++ [ maintainers.offline ];
        };
      });
  