2024-07-14 14:42:12 +03:00
|
|
|
Nix <nix version>
|
|
|
|
Type :? for help.
|
2024-07-23 18:52:28 +03:00
|
|
|
|
|
|
|
nix-repl> :l pretty-print-idempotent.nix
|
2024-07-14 14:42:12 +03:00
|
|
|
Added <number omitted> variables.
|
|
|
|
|
2024-07-23 18:52:28 +03:00
|
|
|
nix-repl> oneDeep
|
2024-07-14 15:28:21 +03:00
|
|
|
{ homepage = "https://example.com"; }
|
2024-07-14 14:42:12 +03:00
|
|
|
|
2024-07-23 18:52:28 +03:00
|
|
|
nix-repl> oneDeep
|
2024-07-14 14:42:12 +03:00
|
|
|
{ homepage = "https://example.com"; }
|
|
|
|
|
2024-07-23 18:52:28 +03:00
|
|
|
nix-repl> twoDeep
|
2024-07-14 14:42:12 +03:00
|
|
|
{
|
|
|
|
layerOne = { ... };
|
|
|
|
}
|
|
|
|
|
2024-07-23 18:52:28 +03:00
|
|
|
nix-repl> twoDeep
|
2024-07-14 14:42:12 +03:00
|
|
|
{
|
|
|
|
layerOne = { ... };
|
|
|
|
}
|
|
|
|
|
2024-07-23 18:52:28 +03:00
|
|
|
nix-repl> oneDeepList
|
2024-07-14 15:31:20 +03:00
|
|
|
[ "https://example.com" ]
|
2024-07-14 14:42:12 +03:00
|
|
|
|
2024-07-23 18:52:28 +03:00
|
|
|
nix-repl> oneDeepList
|
2024-07-14 14:42:12 +03:00
|
|
|
[ "https://example.com" ]
|
|
|
|
|
2024-07-23 18:52:28 +03:00
|
|
|
nix-repl> twoDeepList
|
2024-07-14 14:42:12 +03:00
|
|
|
[
|
|
|
|
[ ... ]
|
|
|
|
]
|
|
|
|
|
2024-07-23 18:52:28 +03:00
|
|
|
nix-repl> twoDeepList
|
2024-07-14 14:42:12 +03:00
|
|
|
[
|
|
|
|
[ ... ]
|
|
|
|
]
|