about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-let-inherit.nix
blob: 3aa7c0f8d29cecb6909c83551b8ae5103c418ed4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
let
  set = {
    a = 1;
  };
in
let
  set2 = {
    b = 1;
  };
  inherit (set) a;
  inherit (set2) b;
in
a + b