Mathieu Boespflug
Mathieu Boespflug
@Lugendre are you using GHC 8.10? The errors look similiar to #1413 and issues linked therein.
Hm, from your WORKSPACE file looks like you're using 8.8.3.
The missing symbols are all about some wrapper functions generated by C2hs. I don't know in what cases C2hs generates wrapping functions, but if it does, then these wrappers end...
See the `foreign import` declarations in the output of C2hs for a manifestation of these wrapper functions: http://hackage.haskell.org/package/mpi-hs-0.5.1.2/docs/src/Control.Distributed.MPI.html.
The latter looks like an instance of https://github.com/tweag/rules_haskell/issues/1416. Regarding macOS, could you run again with `--verbose_failures`?
The packages as structs idea is tempting (and cute), but doesn't that point towards writing the same metadata in a new top-level target instead? That would feel more Bazely.
Repository rules don't have providers, but they can read files. So we could have a `stack_package` rule that just writes the attributes to disk, as JSON using `to_json()` on a...
Yes, making `stack_package` a repository rule was what I was thinking. I doubt we should be too worried about extra disk I/O: the number of packages is small that need...
Hm, do we have a feature request upstream? As things stand, using a snapshot file is going to be pretty confusing to users: part of the content will be ignored...
Related: https://github.com/bazelbuild/bazel-skylib/issues/30.