Skip to content

Provide custom pkg db to Setup.hs #35

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

Closed
angerman opened this issue Jan 25, 2019 · 2 comments
Closed

Provide custom pkg db to Setup.hs #35

angerman opened this issue Jan 25, 2019 · 2 comments

Comments

@angerman
Copy link
Collaborator

We currently build the Setup.hs with the host compiler. This works, but it would be nice if we could selectively augment the package database that Setup.hs is built with. That is e.g. allow to specify a newer Cabal version to build the Setup.hs with.

If we could do this, we would not need to patch Cabal in GHC, but could just patch it outside and have Setup.hs built against that Cabal.

--
This is technically a nix-tools issue. But as we are collecting stuff here, I post it here.

@ElvishJerricco
Copy link
Contributor

In fact, we should treat Setup.hs a lot more like a normal component than we currently do. Ideally, it'd be almost indistinguishable from a normal component with build-type: Simple

@angerman
Copy link
Collaborator Author

We do this now.

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

No branches or pull requests

2 participants