Hello,
let
a = { x = 1; c = 2;};
in
with a;
if a ? b then b else "b not found"This ends up in: error: undefined variable `b' I thought it would evaluate to "b not found". If I use: if a ? a.b then b else "b not found" all works. I'm curious about this behaviour. Can any expert explain a bit about it? Regards, Lluís. _______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
