mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 15:26:17 +02: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
|