-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support defining multiple stackage snapshots in module extension #1960
Comments
Add a `name` to the stack_snapshot tag which can be referenced from other tags of the extension using the `snapshot` attribute. The tags are then grouped by the snapshot name, and a stack snapshot is created. Only the first snapshot sets up the global stack tool repository. Fixes #1960
Given that there is an experimental In the meantime (if you cannot / do not want to use See https://bazel.build/rules/lib/globals/module#use_extension and bazelbuild/bazel#18529 |
Currently, there is no way to configure a stack_snapshot other than the default "stackage" one in a MODULE.bazel file.
Adding an attribute to the configuration tags by which we are able to identify and configure different snapshots would make a MODULE.bazel file look like this:
The text was updated successfully, but these errors were encountered: