diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-03-01 20:47:08 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-03-01 20:52:06 +0100 |
commit | f3d94cfc23a2787772a369e2ca9e0cd94e72b8b3 (patch) | |
tree | 2501bf5c09108c836925aefc4674ebec0b508193 /nixos/modules/config | |
parent | bf4cafd1ddbd7c396a9df6a5d0fb02f2b7d21896 (diff) | |
download | nixlib-f3d94cfc23a2787772a369e2ca9e0cd94e72b8b3.tar nixlib-f3d94cfc23a2787772a369e2ca9e0cd94e72b8b3.tar.gz nixlib-f3d94cfc23a2787772a369e2ca9e0cd94e72b8b3.tar.bz2 nixlib-f3d94cfc23a2787772a369e2ca9e0cd94e72b8b3.tar.lz nixlib-f3d94cfc23a2787772a369e2ca9e0cd94e72b8b3.tar.xz nixlib-f3d94cfc23a2787772a369e2ca9e0cd94e72b8b3.tar.zst nixlib-f3d94cfc23a2787772a369e2ca9e0cd94e72b8b3.zip |
Revert "Add the tool "nixos-typecheck" that can check an option declaration to:"
This reverts commit cad8957eabcbf73062226d28366fd446c15c8737. It breaks NixOps, but more importantly, such major changes to the module system really need to be reviewed.
Diffstat (limited to 'nixos/modules/config')
-rw-r--r-- | nixos/modules/config/i18n.nix | 1 | ||||
-rw-r--r-- | nixos/modules/config/sysctl.nix | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/nixos/modules/config/i18n.nix b/nixos/modules/config/i18n.nix index 3d21bda5734f..b20fac6ad3e2 100644 --- a/nixos/modules/config/i18n.nix +++ b/nixos/modules/config/i18n.nix @@ -64,7 +64,6 @@ in consoleKeyMap = mkOption { type = mkOptionType { name = "string or path"; - typerep = "(stringOrPath)"; check = t: (isString t || types.path.check t); }; diff --git a/nixos/modules/config/sysctl.nix b/nixos/modules/config/sysctl.nix index 174d7014ca8a..61b02c5ffa6a 100644 --- a/nixos/modules/config/sysctl.nix +++ b/nixos/modules/config/sysctl.nix @@ -6,7 +6,6 @@ let sysctlOption = mkOptionType { name = "sysctl option value"; - typerep = "(sysctl)"; check = val: let checkType = x: isBool x || isString x || isInt x || isNull x; |