diff options
Diffstat (limited to 'pkgs/top-level/config.nix')
-rw-r--r-- | pkgs/top-level/config.nix | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/pkgs/top-level/config.nix b/pkgs/top-level/config.nix index 17ded76a0649b..7a5b4bdd17989 100644 --- a/pkgs/top-level/config.nix +++ b/pkgs/top-level/config.nix @@ -1,21 +1,11 @@ # This file defines the structure of the `config` nixpkgs option. -{ lib, config, ... }: +{ lib, ... }: with lib; let - mkMeta = args: mkOption (builtins.removeAttrs args [ "feature" ] // { - type = args.type or (types.uniq types.bool); - default = args.default or false; - description = args.description or '' - Whether to ${args.feature} while evaluating nixpkgs. - '' + '' - Changing the default will not cause any rebuilds. - ''; - }); - mkMassRebuild = args: mkOption (builtins.removeAttrs args [ "feature" ] // { type = args.type or (types.uniq types.bool); default = args.default or false; |