-
Notifications
You must be signed in to change notification settings - Fork 69
Description
This is a followup on: #302.
Hi @roberth 😀
This documentation effort is so good! It explains a lot what I missed:
There were some questions or things which still are a bit ominous to me and I could not yet decipher:
-
args@{a,b, ...}and{a,b,...}@argsis not the same? So the first binds to the original set, the latter only to the destructured stuff, right? -
_moduleis an internal option of the module system where_module.argsrepresents all additional arguments which are passed to all module functions. Quite hard to grasp since its recursive as you describe. -
_module.argsinsideperSystemis not the same instance as inside top level module scopeconfig = {...}. -
I guess I can now forward all arguments in
perSystemto a functionfoolike this?{config, ...}: { perSystem = {...}: { foo config.allModuleArgs }; }
Thanks for answering these hard questions and also updating the docs! It really helps!