1 # This file defines the structure of the `config` nixpkgs option.
9 mkMassRebuild = args: mkOption (builtins.removeAttrs args [ "feature" ] // {
10 type = args.type or (types.uniq types.bool);
11 default = args.default or false;
12 description = (args.description or ''
13 Whether to ${args.feature} while building nixpkgs packages.
15 Changing the default may cause a mass rebuild.
24 type = types.listOf types.str;
31 doCheckByDefault = mkMassRebuild {
32 feature = "run <literal>checkPhase</literal> by default";