diff --git a/modules/base/convert-type.nix b/modules/base/convert-type.nix index 5bfa4f6..54bb317 100644 --- a/modules/base/convert-type.nix +++ b/modules/base/convert-type.nix @@ -14,7 +14,7 @@ let } else if (type.name == "enum") then { type = "enum"; - values = map (x: { name = x; title = x; }) type.functor.payload; + values = type.functor.payload; } else if (type.name == "either") then { type = "either";