-
Notifications
You must be signed in to change notification settings - Fork 81
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
Examples do not build #1419
Comments
I also tried on linux:
Yielding:
|
The latter looks like an instance of #1416. Regarding macOS, could you run again with |
On linux with python 3 the problem now looks much more manageable (mismatched hashes):
But on OS-X the problem is still pretty hairy looking:
N.B. I can run with |
If/when the bug is fixed at least for Linux, would you accept a PR that adds building these examples to the CI via a gitlab action or similar? |
We are always open to PRs (especially improving examples/documentation/testsuites!). |
It's worth pointing out that the examples and tutorial are tested on CI in nixpkgs mode. However, they are not currently tested in bindist mode. |
Are there any workarounds for the DEVELOPER_DIR issue on OS-X? I tried setting
I'm on macOS Catalina (Version 10.15.4). |
@timoffex I think we need to consider bazel Haskell unmaintained for the non-nix case, there aren't CI tests or interested parties at this point. The developer dir is actually a clang concept, observe:
I've tried adding |
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 As the example is currently only tested in a Nix configuration, it is possible that the some of the Nix provided toolchains collide with the standard toolchains in the non-Nix use-case. To test this, you could remove all the We are working on unifying the CI setup, we've recently ported Linux and macOS to both use GH actions and are also working on covering more tests in all configurations. Unfortunately, we gotten to the examples, yet. |
I reproduced the part of the problem that occurs on Ubuntu:
and fixed it with
since those are required dependencies. However, it would be really nice if the error was a little more friendly than the current mess, so I will investigate that. |
Describe the bug
The examples in rules_haskell do not build.
To Reproduce
On my OS-X machine
And observe
Expected behavior
I thought this would build a binary that could be run.
Environment
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: