summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorstuebinm <stuebinm@disroot.org>2024-04-13 15:03:46 +0200
committerJonathan Ringer <jonringer@users.noreply.github.com>2024-04-13 10:07:35 -0700
commit46456a929b654ed2ac9c56f8a0c1fa1823a4a2a9 (patch)
tree421b87d82960415650a659d66ed0ccc68210eb8b /lib
parent170e005a9252cbf60641462d332a1023d66bdf5d (diff)
lib: remove all uses of lib.mdDoc
this change is otherwise a no-op, as lib.mdDoc is already defined to be the identity function.
Diffstat (limited to 'lib')
-rw-r--r--lib/default.nix2
-rw-r--r--lib/modules.nix8
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/default.nix b/lib/default.nix
index 21e4bab2b942..c77ce88cc440 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -146,7 +146,7 @@ let
scrubOptionValue literalExpression literalExample
showOption showOptionWithDefLocs showFiles
unknownModule mkOption mkPackageOption mkPackageOptionMD
- mdDoc literalMD;
+ literalMD;
inherit (self.types) isType setType defaultTypeMerge defaultFunctor
isOptionType mkOptionType;
inherit (self.asserts)
diff --git a/lib/modules.nix b/lib/modules.nix
index 17bc1f1d7664..79892f50c4fe 100644
--- a/lib/modules.nix
+++ b/lib/modules.nix
@@ -136,7 +136,7 @@ let
# TODO: Change the type of this option to a submodule with a
# freeformType, so that individual arguments can be documented
# separately
- description = lib.mdDoc ''
+ description = ''
Additional arguments passed to each module in addition to ones
like `lib`, `config`,
and `pkgs`, `modulesPath`.
@@ -187,14 +187,14 @@ let
type = types.bool;
internal = true;
default = true;
- description = lib.mdDoc "Whether to check whether all option definitions have matching declarations.";
+ description = "Whether to check whether all option definitions have matching declarations.";
};
_module.freeformType = mkOption {
type = types.nullOr types.optionType;
internal = true;
default = null;
- description = lib.mdDoc ''
+ description = ''
If set, merge all definitions that don't have an associated option
together using this type. The result then gets combined with the
values of all declared options to produce the final `
@@ -209,7 +209,7 @@ let
_module.specialArgs = mkOption {
readOnly = true;
internal = true;
- description = lib.mdDoc ''
+ description = ''
Externally provided module arguments that can't be modified from
within a configuration, but can be used in module imports.
'';