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
The configuration variables such as test_repl_ghci_args are duplicated inside the MODULE.bazel file because it is not possible to load them at the moment (see bazelbuild/bazel#17880). For the same reason it is not possible to rely on is_windows to configure the cabalops variable so the windows toolchains are declared separately in this file.
Perhaps another approach could be for the module extension/tags to accept a label to a JSON file holding this configuration? (Either way, out of scope for this PR)
I think we could indeed add an attribute which accepts a label to a json file which would be an object that accepts properties corresponding to the current attributes of the bindist extension, e.g. instead of
@avdv Thanks for giving this its dedicated ticket!
Yes, that's what I had in mind.
Should we try to combine these if both, the attribute and the json file are given or error out?
That is a good question. In the spirit of small incremental steps I would say start with the simpler solution, which is to only allow one or the other and error out if both are provided. If anyone actually has a use-case to combine both, then we can see how to best do that in that context.
Either way, I would not block the release and first BCR upload on this issue. I think this can be handled later.
Perhaps another approach could be for the module extension/tags to accept a label to a JSON file holding this configuration? (Either way, out of scope for this PR)
Originally posted by @aherrmann in #1914 (comment)
The text was updated successfully, but these errors were encountered: