mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +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
|