forked from auxolotl/labs
feat: make lib a dynamic arg
This commit is contained in:
parent
e015170e78
commit
135bd39ef1
|
@ -3,7 +3,7 @@
|
||||||
"lib": {
|
"lib": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1,
|
"lastModified": 1,
|
||||||
"narHash": "sha256-TjsTWJP2N/G0o5ca4v6ooGYHMydtvKf52xnHn4DzZTQ=",
|
"narHash": "sha256-nJ4WxMYE8OFaW6EhJDULMaBaTtXiVtR/MhIvZ4BMqbU=",
|
||||||
"path": "../lib",
|
"path": "../lib",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
},
|
},
|
||||||
|
|
|
@ -594,6 +594,8 @@ lib: {
|
||||||
meta = {
|
meta = {
|
||||||
inherit extend type;
|
inherit extend type;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
lib = lib.modules.overrides.default lib;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -605,7 +607,7 @@ lib: {
|
||||||
collect
|
collect
|
||||||
(args.path or "")
|
(args.path or "")
|
||||||
(modules ++ [internal])
|
(modules ++ [internal])
|
||||||
({inherit lib options config;} // args);
|
({inherit options config;} // args);
|
||||||
in
|
in
|
||||||
lib.modules.combine prefix (lib.lists.reverse collected);
|
lib.modules.combine prefix (lib.lists.reverse collected);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue