mirror of
https://github.com/NixOS/nix.git
synced 2024-11-26 16:52:27 +00:00
12 lines
240 B
Nix
12 lines
240 B
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
|