mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
treewide: De-inline uses of lib.boolToString
This commit should not change eval results
This commit is contained in:
parent
74d875206a
commit
cebf9198f3
20 changed files with 30 additions and 28 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue