mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
6 lines
126 B
Nix
6 lines
126 B
Nix
|
let {
|
||
|
as = { x = 123; y = 456; } // { z = 789; } // { z = 987; };
|
||
|
|
||
|
body = if as ? a then as.a else assert as ? z; as.z;
|
||
|
}
|