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

Switch stack's Cabal build from Custom back to Simple #2467

Open
Blaisorblade opened this issue Aug 9, 2016 · 1 comment
Open

Switch stack's Cabal build from Custom back to Simple #2467

Blaisorblade opened this issue Aug 9, 2016 · 1 comment

Comments

@Blaisorblade
Copy link
Collaborator

Blaisorblade commented Aug 9, 2016

Split out of #2450. Right now (after #2223) we need a Custom build to possibly store in stack the list of dependencies it was built with. But @mgsloan explains that

Setup.hs files are generally gnarly for a variety of reasons - haskell/cabal#3065

EDIT: The idea would be to switch to Template Haskell for the job, ideas in
#2450 (comment) and pointers.

@mgsloan
Copy link
Contributor

mgsloan commented Aug 9, 2016

For the TH approach, I think it's gotta be runIO getStuffFromCabalDist. Stack already links against cabal, so it's not really an added dep.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants