about summary refs log tree commit diff
path: root/tvix/eval/src/tests/nix_tests/eval-okay-import.nix
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