mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
Trivial change of wording of error messages
This commit is contained in:
parent
edd2d907a0
commit
2d310a91c8
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user