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
Both installables and runnables block types provide a build action. However, both block types also provide further actions. This makes them less than ideal for some use cases, such as checks or, in the case of Rust projects, a separate derivation for cargoArtifacts.
A simple buildable block type may be helpful here. This block type would only provide the build action. Projects could use it to provide a set of dependencies that other blocks of the cell could use.
Alternatively, both the anything and functions block types could be used for this purpose. In the case of checks, however, that means that checks can no longer be run individually.
The text was updated successfully, but these errors were encountered:
Both installables and runnables block types provide a build action. However, both block types also provide further actions. This makes them less than ideal for some use cases, such as checks or, in the case of Rust projects, a separate derivation for cargoArtifacts.
Agreed. This is a long-standing semantic mismatch that I just didn't bother to resolve.
I think a low-risk/low-maint and backward-compatible approach would be to perpetuate, but alleviate this issue by just adding your suggested buildable block type.
Both
installables
andrunnables
block types provide abuild
action. However, both block types also provide further actions. This makes them less than ideal for some use cases, such as checks or, in the case of Rust projects, a separate derivation forcargoArtifacts
.A simple
buildable
block type may be helpful here. This block type would only provide thebuild
action. Projects could use it to provide a set of dependencies that other blocks of the cell could use.Alternatively, both the
anything
andfunctions
block types could be used for this purpose. In the case of checks, however, that means that checks can no longer be run individually.The text was updated successfully, but these errors were encountered: