mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-14 18:26: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
|