anchor.diff:        after = [ "network-interfaces.target" ];
         environment = { ES_HOME = cfg.dataDir; };
         serviceConfig = {
  -        ExecStart = "${pkgs.elasticsearch}/bin/elasticsearch -Des.path.conf=${configDir} ${toString cfg.extraCmdLineOptions}";
  +        ExecStart = "${cfg.package}/bin/elasticsearch -Des.path.conf=${configDir} ${toString cfg.extraCmdLineOptions}";
           User = "elasticsearch";
           PermissionsStartOnly = true;
         };
  
positive.code:       description = "Whether to enable elasticsearch.";
        default = false;
        type = types.bool;
      };
  
      host = mkOption {
  
negative.code:       '';
      };
  
      environment.systemPackages = [ cfg.package ];
  
      users.extraUsers = singleton {
        name = "elasticsearch";
  