about summary refs log tree commit diff
path: root/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-import.nix
blob: 76213a9541e31f12425350d132e889d9500094f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
let

  overrides = {
    import = fn: scopedImport overrides fn;

    scopedImport = attrs: fn: scopedImport (overrides // attrs) fn;

    builtins = builtins // overrides;
  } // import ./../lib.nix;

in scopedImport overrides ./../imported.nix