nix-gh/tests/lang/eval-okay-with.nix

20 lines
171 B
Nix
Raw Permalink Normal View History

2005-11-04 15:50:33 +01:00
let {
a = "xyzzy";
as = {
a = "foo";
b = "bar";
};
2010-03-23 15:51:32 +01:00
bs = {
a = "bar";
};
2005-11-04 15:50:33 +01:00
x = with as; a + b;
2010-03-23 15:51:32 +01:00
y = with as; with bs; a + b;
body = x + y;
2005-11-04 15:50:33 +01:00
}