Implement toToml for 'int'

This commit is contained in:
Nicolas Mattia 2020-01-14 19:52:10 +01:00
parent 560601e3ab
commit b0756e84cf

View file

@ -42,7 +42,7 @@ let
let
ty = tomlTy v;
in
if ty == "bool" then
if (ty == "bool" || ty == "int") then
builtins.toJSON v
else
if ty == "string" then