From 2d310a91c8b83556a7f772321b117348fa7944b5 Mon Sep 17 00:00:00 2001 From: Evgeny Egorochkin Date: Fri, 23 Aug 2013 09:01:12 +0300 Subject: [PATCH] Trivial change of wording of error messages --- pkgs/lib/options.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/lib/options.nix b/pkgs/lib/options.nix index a7d1a3483a08..e8e01083a77a 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;