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

20 lines
171 B
Nix
Raw Permalink Normal View History

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