about summary refs log blame commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-let-inherit.nix
blob: 4ec270e3bf43a268d8c1328effd24641d829f0a2 (plain) (tree)
1
2
3
4
5
6
7
8
9





          


            
                    

                     
let
  set = {
    a = 1;
  };
in
  let
    set2 = {
      b = 1;
    };
    inherit (set) a;
    inherit (set2) b;
  in a + b