lix/tests/functional/lang/eval-okay-attrs.nix
piegames 0a8888d1c7 treewide: Stop using ancient let syntax
Shows for how long these tests have not been touched by anyone …

Change-Id: I3d0c1209a86283ddb012db4e7d45073264fdd0eb
2024-08-21 06:55:52 +00:00

9 lines
120 B
Nix

let
as = { x = 123; y = 456; } // { z = 789; } // { z = 987; };
in
if as ? a then
as.a
else
assert as ? z;
as.z