Closed ELLIOTTCABLE closed 10 months ago
I am, of course, able to circumvent this by using dhall-to-json
instead, and piping thru yq
for instance:
$ dhall-to-json --file Dotfiles/config/rtx/config.dhall | yq --toml-output '.'
yeah, i'm pretty sure this is fixable by adding dhall-toml
support for the Prelude.Map
type. i'm working on this
I'm new, so maybe this is the wrong way to go about the problem; but I'd like to generate a config like the following (for
rtx
's~/.config/rtx/config.toml
) in a relatively D.R.Y. / deduped way:Reading the docs, it feels like this needs "Dynamic records" support (or dependent typing 😅); but that doesn't seem to be supported by
dhall-toml
as yet: