2023-06-18 00:46:31 +00:00
|
|
|
# Turns given inputs into the standardized shape of the inputs to configure
|
2023-01-14 12:42:40 +00:00
|
|
|
# custom base modules in this directory.
|
2023-06-18 00:46:31 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib ? pkgs.lib,
|
|
|
|
...
|
|
|
|
} @ inputs: let
|
2022-12-13 18:42:17 +00:00
|
|
|
recursiveUpdate = lib.recursiveUpdate;
|
2023-06-18 00:46:31 +00:00
|
|
|
_lib = recursiveUpdate lib (import ../../lib {inherit pkgs lib;});
|
2022-12-26 10:42:14 +00:00
|
|
|
proj_root = builtins.toString ./../../..;
|
2022-12-11 00:00:49 +00:00
|
|
|
in
|
2023-06-18 00:46:31 +00:00
|
|
|
# TODO: Unpollute inputs
|
|
|
|
recursiveUpdate inputs {
|
|
|
|
proj_root = {
|
|
|
|
path = proj_root;
|
|
|
|
config.path = "${proj_root}/native_configs";
|
|
|
|
scripts.path = "${proj_root}/scripts";
|
|
|
|
};
|
|
|
|
myLib = _lib;
|
|
|
|
}
|