Skip to content
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

Generate dummy-ghc from raw ghc source #2183

Merged
merged 89 commits into from
Apr 30, 2024
Merged

Conversation

hamishmack
Copy link
Collaborator

This should be fast and will avoid us having to maintain the materialized/dummy-ghc files. It also removes the need for materialized hadrian plans.

Known drawbacks

  • Minimal ghc-pkg dump output may need to be improved:

    • Leaving out build-depends may cause solver problems.
    • Without exposed-modules other packages cannot reexported them.
  • Logic for lib/supported-languages.nix will need to be maintained manually.

This should be fast and will avoid us having to maintain the `materialized/dummy-ghc` files.  It also removes the need for materialized hadrian plans.

Known drawbacks

* Minimal `ghc-pkg dump` output may need to be improved:

  * Leaving out `build-depends` may cause solver problems.
  * Without `exposed-modules` other packages cannot reexported them.

* Logic for `lib/supported-languages.nix` will need to be maintained manually.
@hamishmack hamishmack self-assigned this Apr 11, 2024
@hamishmack hamishmack merged commit dfd39f4 into master Apr 30, 2024
1439 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants