anchor.diff:          rm -f "${configDir}/logging.yml"
           cp ${loggingConfigFile} ${configDir}/${loggingConfigFilename}
           mkdir -p ${configDir}/scripts
  -        ${optionalString es6 "cp ${cfg.package}/config/jvm.options ${configDir}/jvm.options"}
  +        cp ${cfg.package}/config/jvm.options ${configDir}/jvm.options
           # redirect jvm logs to the data directory
           mkdir -m 0700 -p ${cfg.dataDir}/logs
           ${pkgs.sd}/bin/sd 'logs/gc.log' '${cfg.dataDir}/logs/gc.log' ${configDir}/jvm.options \
  
positive.code:       path = [ pkgs.inetutils ];
        environment = {
          ES_HOME = cfg.dataDir;
          ES_JAVA_OPTS = toString (optional (!es6) [ "-Des.path.conf=${configDir}" ]
            ++ cfg.extraJavaOptions);
        } // optionalAttrs es6 {
          ES_PATH_CONF = configDir;
        };
        serviceConfig = {
  
negative.code: 
  let
    cfg = config.services.elasticsearch;
  
    esConfig = ''
      network.host: ${cfg.listenAddress}
  