diff --git a/lib/types.nix b/lib/types.nix index 77105740bc23..e9e45dc25c72 100644 --- a/lib/types.nix +++ b/lib/types.nix @@ -499,6 +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 ''<${builtins.typeOf v}>''; in mkOptionType rec {