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