nix-super/tests/lang/eval-okay-attrs.nix

6 lines
126 B
Nix
Raw Permalink Normal View History

2006-03-01 18:26:13 +02:00
let {
as = { x = 123; y = 456; } // { z = 789; } // { z = 987; };
body = if as ? a then as.a else assert as ? z; as.z;
}