mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-15 02:36:16 +02:00
ca2cc26e12
... as well as match buildReadlineNoMarkdown. Unfortunately it doesn't support long inputs or multiline inputs for now. This needs to make better use of the interacter interface.
39 lines
500 B
Text
39 lines
500 B
Text
Nix <nix version>
|
|
Type :? for help.
|
|
|
|
nix-repl> :l pretty-print-idempotent.nix
|
|
Added <number omitted> variables.
|
|
|
|
nix-repl> oneDeep
|
|
{ homepage = "https://example.com"; }
|
|
|
|
nix-repl> oneDeep
|
|
{ homepage = "https://example.com"; }
|
|
|
|
nix-repl> twoDeep
|
|
{
|
|
layerOne = { ... };
|
|
}
|
|
|
|
nix-repl> twoDeep
|
|
{
|
|
layerOne = { ... };
|
|
}
|
|
|
|
nix-repl> oneDeepList
|
|
[ "https://example.com" ]
|
|
|
|
nix-repl> oneDeepList
|
|
[ "https://example.com" ]
|
|
|
|
nix-repl> twoDeepList
|
|
[
|
|
[ ... ]
|
|
]
|
|
|
|
nix-repl> twoDeepList
|
|
[
|
|
[ ... ]
|
|
]
|
|
|
|
nix-repl>
|