lix-releng-staging/tests/lang/eval-okay-with.nix

20 lines
171 B
Nix
Raw Normal View History

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