treewide: De-inline uses of lib.boolToString

This commit should not change eval results
This commit is contained in:
Malte Brandy 2020-10-14 01:46:17 +02:00
parent 74d875206a
commit cebf9198f3
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9
20 changed files with 30 additions and 28 deletions

View file

@ -499,7 +499,7 @@ rec {
show = v:
if builtins.isString v then ''"${v}"''
else if builtins.isInt v then builtins.toString v
else if builtins.isBool v then if v then "true" else "false"
else if builtins.isBool v then boolToString v
else ''<${builtins.typeOf v}>'';
in
mkOptionType rec {