0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

nixos: remove all uses of lib.mdDoc

these changes were generated with nixq 0.0.2, by running

  nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
  nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix

two mentions of the mdDoc function remain in nixos/, both of which
are inside of comments.

Since lib.mdDoc is already defined as just id, this commit is a no-op as
far as Nix (and the built manual) is concerned.
This commit is contained in:
stuebinm 2024-04-13 14:54:15 +02:00 committed by Jonathan Ringer
parent 1dd996e59a
commit 6afb255d97
1701 changed files with 13694 additions and 13865 deletions

View file

@ -16,7 +16,7 @@ with lib;
"fs.defaultFS" = "hdfs://localhost";
}
'';
description = lib.mdDoc ''
description = ''
Hadoop core-site.xml definition
<https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/core-default.xml>
'';
@ -25,7 +25,7 @@ with lib;
default = {};
type = types.attrsOf types.anything;
internal = true;
description = lib.mdDoc ''
description = ''
Internal option to add configs to core-site.xml based on module options
'';
};
@ -38,7 +38,7 @@ with lib;
"dfs.namenode.http-bind-host" = "0.0.0.0";
};
type = types.attrsOf types.anything;
description = lib.mdDoc ''
description = ''
Default options for hdfs-site.xml
'';
};
@ -50,7 +50,7 @@ with lib;
"dfs.nameservices" = "namenode1";
}
'';
description = lib.mdDoc ''
description = ''
Additional options and overrides for hdfs-site.xml
<https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml>
'';
@ -59,7 +59,7 @@ with lib;
default = {};
type = types.attrsOf types.anything;
internal = true;
description = lib.mdDoc ''
description = ''
Internal option to add configs to hdfs-site.xml based on module options
'';
};
@ -80,7 +80,7 @@ with lib;
}
'';
type = types.attrsOf types.anything;
description = lib.mdDoc ''
description = ''
Default options for mapred-site.xml
'';
};
@ -92,7 +92,7 @@ with lib;
"mapreduce.map.java.opts" = "-Xmx900m -XX:+UseParallelGC";
}
'';
description = lib.mdDoc ''
description = ''
Additional options and overrides for mapred-site.xml
<https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/mapred-default.xml>
'';
@ -113,7 +113,7 @@ with lib;
"yarn.resourcemanager.scheduler.class" = "org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler";
};
type = types.attrsOf types.anything;
description = lib.mdDoc ''
description = ''
Default options for yarn-site.xml
'';
};
@ -125,7 +125,7 @@ with lib;
"yarn.resourcemanager.hostname" = "''${config.networking.hostName}";
}
'';
description = lib.mdDoc ''
description = ''
Additional options and overrides for yarn-site.xml
<https://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-common/yarn-default.xml>
'';
@ -134,7 +134,7 @@ with lib;
default = {};
type = types.attrsOf types.anything;
internal = true;
description = lib.mdDoc ''
description = ''
Internal option to add configs to yarn-site.xml based on module options
'';
};
@ -147,7 +147,7 @@ with lib;
"hadoop.http.max.threads" = 500;
}
'';
description = lib.mdDoc ''
description = ''
Hadoop httpfs-site.xml definition
<https://hadoop.apache.org/docs/current/hadoop-hdfs-httpfs/httpfs-default.html>
'';
@ -162,7 +162,7 @@ with lib;
example = literalExpression ''
"''${pkgs.hadoop}/etc/hadoop/log4j.properties";
'';
description = lib.mdDoc "log4j.properties file added to HADOOP_CONF_DIR";
description = "log4j.properties file added to HADOOP_CONF_DIR";
};
containerExecutorCfg = mkOption {
@ -179,7 +179,7 @@ with lib;
"feature.terminal.enabled" = 0;
}
'';
description = lib.mdDoc ''
description = ''
Yarn container-executor.cfg definition
<https://hadoop.apache.org/docs/r2.7.2/hadoop-yarn/hadoop-yarn-site/SecureContainer.html>
'';
@ -194,10 +194,10 @@ with lib;
./extraYARNConfs
]
'';
description = lib.mdDoc "Directories containing additional config files to be added to HADOOP_CONF_DIR";
description = "Directories containing additional config files to be added to HADOOP_CONF_DIR";
};
gatewayRole.enable = mkEnableOption (lib.mdDoc "gateway role for deploying hadoop configs");
gatewayRole.enable = mkEnableOption "gateway role for deploying hadoop configs";
package = mkPackageOption pkgs "hadoop" { };
};