0
0
Fork 0
forked from lix-project/lix
lix/tests/lang/eval-okay-fromTOML-timestamps.flags
Andrea Bedini 3c78920f73
Parse TOML timestamps ()
Currently `fromTOML` throws an exception when encountering a timestamp
since the Nix language lacks a way to represent them.

This patch changes this beaviour and makes `fromTOML` parse timestamps as
attrsets of the format

  { _type = "timestamp"; value = "1979-05-27T07:32:00Z"; }

This is guarded by an experimental feature flag to leave room for iterating on the representation.
2023-06-09 11:53:18 +02:00

2 lines
52 B
Plaintext

--extra-experimental-features parse-toml-timestamps