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
If your custom output attribute is a one-off because you need to do something special in a single project, all you have to do is define a value in the flake option.
However, if you want it to be reusable and integrate well, you should declare an option for it, and you could perhaps provide a bit of support logic if that makes sense to do.
However, this piece of documentation does not answer the question "how do I declare an option?", nor does it provide a link doing so. Looking through the rest of the documentation also does not provide any obvious answers.
It would be very helpful if a link that answers this question were present in this text, something like:
If your custom output attribute is a one-off because you need to do something special in a single project, all you have to do is define a value in the flake option.
However, if you want it to be reusable and integrate well, you should declare an option for it, and you could perhaps provide a bit of support logic if that makes sense to do.
Or, alternatively, provide a code snippet that demonstrates how to do so.
The text was updated successfully, but these errors were encountered:
I'm trying to add a custom option
lib
to my reusable flake module, and here's what the documentation has to say about it (emphasis added):However, this piece of documentation does not answer the question "how do I declare an option?", nor does it provide a link doing so. Looking through the rest of the documentation also does not provide any obvious answers.
It would be very helpful if a link that answers this question were present in this text, something like:
Or, alternatively, provide a code snippet that demonstrates how to do so.
The text was updated successfully, but these errors were encountered: