You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the first problem is that we are currently exposing modules in the publisher flake simply as a store path.
Changing that to export a function/module directly could make it easier to bind inputs and flake right in the publisher flake.
lib.modules.importApply could be a good fit, but would require taking two positional arguments in a module instead of just one.
Would be even better to be able to avoid this, but this would probably require a way to to partially apply the module, in such a way that the wrapped module still has the right builtin.functionArgs for evalModules to work correctly. I don't know how to that
phaer
added a commit
to phaer/blueprint
that referenced
this issue
Dec 6, 2024
As a publisher, I might want to expose modules that use
flake
andinputs
attributes.At the moment, those arguments will be filled with values from the consumer flake.
The flake author should be able to reason about the content of these attributes.
=> somehow lock those arguments to contain the values of the publisher flake
The text was updated successfully, but these errors were encountered: