-
Notifications
You must be signed in to change notification settings - Fork 80
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
Move start script to bindists & document #804
Conversation
The user is now immediately able to build a simple Haskell binary. We provide a full minimal example of a working project, getting the user up & running from a state they know is working (or at least one we guarantee to work). Each of the generated bazel files is documented, to ease understanding of the template.
6237cff
to
0aeca68
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
0c371ef
to
1605b76
Compare
So, importing the |
Our version of Skydoc is deprecated but unfortunately there is no good replacement for it as of yet. The new Stardoc is a lot less feature complete. |
Some bindist hashes were broken, because they were copied by hand. This means a `rules_haskell` release is broken, at least for users who try to use the bindists we provide. One only notices after downloading a heavy bindists and the hashes don’t match, leading to a frustrating experience. Running the `gen-ghc-bindist` uses the official upstream hashes to generate a bzl file (really: dump a python dict), which can `load`ed by bazel, eliminating future maintenance errors.
Remove the repository override, because we always deploy the current start script from master, but it fetches the latest release (not master), so we should test that. Move from a simple fetch to testing the buildable example.
aaec4d8
to
f6878c7
Compare
Previously the start script generated a nixpkgs-compatible WORKSPACE, but since we switched it to bindists now, it should run in the bindist CI.
f6878c7
to
7ea18f8
Compare
3a70563
to
b432574
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR improves the start script and the bindists.