about summary refs log blame commit diff
path: root/tests/lang/eval-okay-import.nix
blob: 0b18d94131226d775483975b365626b01331748c (plain) (tree)
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