···
···
mkMassRebuild = args: mkOption (builtins.removeAttrs args [ "feature" ] // {
type = args.type or (types.uniq types.bool);
default = args.default or false;
18
-
description = mdDoc ((args.description or ''
17
+
description = ((args.description or ''
Whether to ${args.feature} while building nixpkgs packages.
Changing the default may cause a mass rebuild.
···
warnUndeclaredOptions = mkOption {
43
-
description = mdDoc "Whether to warn when `config` contains an unrecognized attribute.";
42
+
description = "Whether to warn when `config` contains an unrecognized attribute.";
···
allowAliases = mkOption {
75
-
description = mdDoc ''
Whether to expose old attribute names for compatibility.
The recommended setting is to enable this, as it
···
# getEnv part is in check-meta.nix
defaultText = literalExpression ''false || builtins.getEnv "NIXPKGS_ALLOW_UNFREE" == "1"'';
95
-
description = mdDoc ''
Whether to allow unfree packages.
See [Installing unfree packages](https://nixos.org/manual/nixpkgs/stable/#sec-allow-unfree) in the NixOS manual.
···
# getEnv part is in check-meta.nix
defaultText = literalExpression ''false || builtins.getEnv "NIXPKGS_ALLOW_BROKEN" == "1"'';
107
-
description = mdDoc ''
Whether to allow broken packages.
See [Installing broken packages](https://nixos.org/manual/nixpkgs/stable/#sec-allow-broken) in the NixOS manual.
···
# getEnv part is in check-meta.nix
defaultText = literalExpression ''false || builtins.getEnv "NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM" == "1"'';
119
-
description = mdDoc ''
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" ]);
141
-
description = mdDoc ''
Which warnings to display for potentially dangerous
or deprecated values passed into `stdenv.mkDerivation`.
···
156
-
description = mdDoc ''
Whether to check that the `meta` attribute of derivations are correct during evaluation time.