mirror of
https://github.com/NixOS/nix.git
synced 2024-11-26 16:52:27 +00:00
20 lines
171 B
Nix
20 lines
171 B
Nix
let {
|
|
|
|
a = "xyzzy";
|
|
|
|
as = {
|
|
a = "foo";
|
|
b = "bar";
|
|
};
|
|
|
|
bs = {
|
|
a = "bar";
|
|
};
|
|
|
|
x = with as; a + b;
|
|
|
|
y = with as; with bs; a + b;
|
|
|
|
body = x + y;
|
|
}
|