mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-12-03 02:46:16 +02:00
37 lines
488 B
Text
37 lines
488 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
|
|
[
|
|
[ ... ]
|
|
]
|