anchor.diff:      };
     };
   
  -  toYAML = name : attrs : pkgs.runCommandNoCC name {
  +  toYAML = name: attrs: pkgs.runCommandNoCC name {
       preferLocalBuild = true;
       json = builtins.toFile "${name}.json" (builtins.toJSON attrs);
       nativeBuildInputs = [ pkgs.remarshal ];
     } ''json2yaml -i $json -o $out'';
   
  -  thanos = cmd : "${cfg.package}/bin/thanos ${cmd}" +
  +  thanos = cmd: "${cfg.package}/bin/thanos ${cmd}" +
       (let args = cfg."${cmd}".arguments;
        in optionalString (length args != 0) (" \\\n  " +
            concatStringsSep " \\\n  " args));
   
  -  argumentsOf = cmd : concatLists (collect isList
  -    (flip mapParamsRecursive params."${cmd}" (path : param :
  +  argumentsOf = cmd: concatLists (collect isList
  +    (flip mapParamsRecursive params."${cmd}" (path: param:
         let opt = concatStringsSep "." path;
             v = getAttrFromPath path cfg."${cmd}";
         in param.toArgs opt v)));
   
  -  mkArgumentsOption = cmd : mkOption {
  +  mkArgumentsOption = cmd: mkOption {
       type = types.listOf types.str;
       default = argumentsOf cmd;
       description = ''
  
positive.code:       '';
      };
  
      objstore = cfg : {
  
        objstore.config-file = {
          toArgs = _opt : path : optionToArgs "objstore.config-file" path;
          option = mkOption {
            type = with types; nullOr str;
            default = if cfg.objstore.config == null then null
  
negative.code:   };
  
    mapParamsRecursive =
      let noParam = attr: !(attr ? "toArgs" && attr ? "option");
      in mapAttrsRecursiveCond noParam;
  
    paramsToOptions = mapParamsRecursive (_path: param: param.option);
  
    params = {
  
  