diff --git a/pkgs/lib/options.nix b/pkgs/lib/options.nix index a7d1a3483a0..e8e01083a77 100644 --- a/pkgs/lib/options.nix +++ b/pkgs/lib/options.nix @@ -66,7 +66,7 @@ rec { if all opt.check list then opt.merge list else - throw "One of option ${name} values is of a bad type."; + throw "One of option ${name} values has a bad type."; } else opt; @@ -77,7 +77,7 @@ rec { if opt.check opt.default then opt.default else - throw "The default value of option ${name} is of a bad type."; + throw "The default value of option ${name} has a bad type."; } else opt;