mirror of
https://github.com/NixOS/nix.git
synced 2025-11-24 03:09:35 +01:00
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.
1 line
52 B
Text
1 line
52 B
Text
--extra-experimental-features parse-toml-timestamps
|