fromTOML
lib.fromTOML
Primop
Docs pulled from | This Revision | 35 minutes ago
Takes 1 arguments
e
Convert a TOML string to a Nix value. For example,
builtins.fromTOML ''
x=1
s="a"
[table]
y=2
''
returns the value { s = "a"; table = { y = 2; }; x = 1; }.
Noogle detected
Detected Type
fromTOML :: String -> AttrSet
Implementation
This function is implemented in c++ and is part of the native nix runtime.