-
Notifications
You must be signed in to change notification settings - Fork 165
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
Add nix packaging support using haskell.nix #483
Conversation
Does not work, attempting other workarounds. This reverts commit 45a8601.
Thanks for the contribution! Would be great if this could be tested by a GitHub workflow (CI), so that it does not bit-rot. |
Workflow is added, should be working now for both os x and linux builds using nix. A few notes:
|
Excellent, I'll merge this now! I cannot promise to maintain this, unfortunately, as I lack the |
This PR adds nix packaging for BNFC using haskell.nix, allowing it to be integrated directly with the nix ecosystem, producing more reproducible builds as well.
Note that this does not invalidate the current stack-based build system, this is just additional nix build scripts that can be used by nix systems, quite like the
Dockerfile
we are already providing. This does not create multiple sources of truth for building as well since haskell.nix reads stack yaml configurations and generate build instructions on the fly.