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

Check out if we could use a GHC source plugin #9

Open
picnoir opened this issue Nov 14, 2018 · 0 comments
Open

Check out if we could use a GHC source plugin #9

picnoir opened this issue Nov 14, 2018 · 0 comments
Labels
Challenging Challenging Issue Todo Validated Issue

Comments

@picnoir
Copy link
Owner

picnoir commented Nov 14, 2018

Instead of using the current build process, ie.

  1. Build the package using stack.
  2. Retrieve the dynamic flags using cabal-helper.
  3. Load the modules in GHC API using these flags

Investigate GHC source plugins to see if we could use them to ditch step 2. This would reduce the number of moving parts.

Potential side effect: this would also fix #8 and allow us to run the tests directly from nix-build.

@picnoir picnoir added Todo Validated Issue Challenging Challenging Issue labels Nov 14, 2018
@picnoir picnoir changed the title Check out if we could use a GHC's source plugin Check out if we could use a GHC source plugin Nov 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Challenging Challenging Issue Todo Validated Issue
Projects
None yet
Development

No branches or pull requests

1 participant