treewide: De-inline uses of lib.boolToString
This commit should not change eval results
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user