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