-
|
I am attempting to understand ./default.nix in import-tree before I incorporate it in my nix setup and have a question about the definition of boundAPI on line 162. What are the differences between the original definition of boundAPI vs these alternatives? Original: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
Hey @Admasnd, Feeling somewhat embarrassed at someone actually looking at the source code, haha. I'm sorry for the very bad names, I tried to expand with few comments and better variable names, hope it makes sense now. See diff |
Beta Was this translation helpful? Give feedback.
-
g does not take a config, but an import-tree object. the difference is that a config is the accumulated state, and the import-tree object is: |
Beta Was this translation helpful? Give feedback.
g does not take a config, but an import-tree object.
the difference is that a config is the accumulated state, and the import-tree object is:
{ __config, filter, map, etc } + boundAPI