optionSet type: enable deprecation message

This commit is contained in:
Eric Sagnes 2016-09-13 12:57:36 +09:00
parent 79f72966e6
commit f923905346

View file

@ -261,7 +261,7 @@ rec {
# declarations from the options attribute of containing option
# declaration.
optionSet = mkOptionType {
name = /* builtins.trace "types.optionSet is deprecated; use types.submodule instead" */ "option set";
name = builtins.trace "types.optionSet is deprecated; use types.submodule instead" "option set";
};
# Augment the given type with an additional type check function.