Andreas Herrmann
Andreas Herrmann
> It will probably make sense to switch the invocation from the old `nix-build` to the flake-aware `nix build` as well. Yes, perhaps, if so, be sure to check if...
@Infinisil Thank you for looking into this! One thing that stands out to me is that many of the missing symbols are defined in `//:mpi-hs-c`. However, that target is only...
Thanks for the repro! It looks like [`haskell_cc_libraries_aspect`](https://github.com/tweag/rules_haskell/blob/dfd0161264b3e1ca8e47c30ef258d50e754570fc/haskell/private/cc_libraries.bzl#L380) is missing or not forwarded correctly somewhere in this.
The issue seems to be that the you're not configuring a Nix provided CC toolchain. Bazel's default toolchain just picks the C compiler from the environment. The following patch uses...
> But there are still 88 libraries coming from `/lib` yet. That means that the amount of work to do this manually is not practical if each one of them...
@sellout Thanks for reporting this and the repro instructions. I was able to reproduce this in https://github.com/tweag/rules_haskell/pull/1550. I tried a quick fix by just adding plugin dependencies to the list...
> IMO, it would be a good idea to separate the docs generation into another component, in order to get rid of the excess dependencies. WDYT? That sounds like a...
It's worth pointing out that the examples and tutorial are [tested on CI in nixpkgs mode](https://github.com/tweag/rules_haskell/blob/e8623a8c5ea502fbe6286d8ae5fb58f4915e92c5/tests/RunTests.hs#L113-L119). However, they are not currently tested in bindist mode.
We do run tests on CI for the macOS bindist use case. However, they currently do not include the example or tutorial. The main test suite and the `start` script...
See https://github.com/tweag/rules_nixpkgs/issues/218#issuecomment-1097644432 for why `-x c++` was added.