pkgs/config: remove uses of lib.mdDoc

this commit is a no-op, as lib.mdDoc was already defined as id.

stuebinm 170e005a 6afb255d

Changed files
+8 -9
pkgs
top-level
+8 -9
pkgs/top-level/config.nix
···
inherit (lib)
literalExpression
mapAttrsToList
-
mdDoc
mkOption
optionals
types
···
mkMassRebuild = args: mkOption (builtins.removeAttrs args [ "feature" ] // {
type = args.type or (types.uniq types.bool);
default = args.default or false;
-
description = mdDoc ((args.description or ''
+
description = ((args.description or ''
Whether to ${args.feature} while building nixpkgs packages.
'') + ''
Changing the default may cause a mass rebuild.
···
/* Config options */
warnUndeclaredOptions = mkOption {
-
description = mdDoc "Whether to warn when `config` contains an unrecognized attribute.";
+
description = "Whether to warn when `config` contains an unrecognized attribute.";
type = types.bool;
default = false;
};
···
allowAliases = mkOption {
type = types.bool;
default = true;
-
description = mdDoc ''
+
description = ''
Whether to expose old attribute names for compatibility.
The recommended setting is to enable this, as it
···
default = false;
# getEnv part is in check-meta.nix
defaultText = literalExpression ''false || builtins.getEnv "NIXPKGS_ALLOW_UNFREE" == "1"'';
-
description = mdDoc ''
+
description = ''
Whether to allow unfree packages.
See [Installing unfree packages](https://nixos.org/manual/nixpkgs/stable/#sec-allow-unfree) in the NixOS manual.
···
default = false;
# getEnv part is in check-meta.nix
defaultText = literalExpression ''false || builtins.getEnv "NIXPKGS_ALLOW_BROKEN" == "1"'';
-
description = mdDoc ''
+
description = ''
Whether to allow broken packages.
See [Installing broken packages](https://nixos.org/manual/nixpkgs/stable/#sec-allow-broken) in the NixOS manual.
···
default = false;
# getEnv part is in check-meta.nix
defaultText = literalExpression ''false || builtins.getEnv "NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM" == "1"'';
-
description = mdDoc ''
+
description = ''
Whether to allow unsupported packages.
See [Installing packages on unsupported systems](https://nixos.org/manual/nixpkgs/stable/#sec-allow-unsupported-system) in the NixOS manual.
···
showDerivationWarnings = mkOption {
type = types.listOf (types.enum [ "maintainerless" ]);
default = [];
-
description = mdDoc ''
+
description = ''
Which warnings to display for potentially dangerous
or deprecated values passed into `stdenv.mkDerivation`.
···
checkMeta = mkOption {
type = types.bool;
default = false;
-
description = mdDoc ''
+
description = ''
Whether to check that the `meta` attribute of derivations are correct during evaluation time.
'';
};