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

Hackage dependency issues #53

Open
Korusuke opened this issue Aug 18, 2019 · 4 comments
Open

Hackage dependency issues #53

Korusuke opened this issue Aug 18, 2019 · 4 comments

Comments

@Korusuke
Copy link
Member

Firstly there are a few packages that are not present upstream but even then declared as dependencies so that should not be added by upt-hackage itself. Example: unbuildable, invalid-cabal-flag-settings, etc..
Do we agree on this? ping @Steap

Then there are ports which are present in hackage but we might not want to mention as dependencies ever like bytestring, unix, win-32, base, etc.. so can we comeup with list of such ports and filter them out and I guess all hackage packages would require ghc....not sure about all this.

ping @mojca @essandess

@essandess
Copy link

@Korusuke

I guess all hackage packages would require ghc....not sure about all this.

Not necessarily. They could also require cabal (macports/macports-ports#4715) or stack (macports/macports-ports#4633), which will take care of downloading whatever ghc version is specified in cabal.yaml or stack.yaml.

@Steap
Copy link
Collaborator

Steap commented Aug 20, 2019

Firstly there are a few packages that are not present upstream but even then declared as dependencies so that should not be added by upt-hackage itself. Example: unbuildable, invalid-cabal-flag-settings, etc..
Do we agree on this? ping @Steap

Why are these dependencies specified? How are they resolved when Haskell tooling needs them?

@Korusuke
Copy link
Member Author

Why are these dependencies specified? How are they resolved when Haskell tooling needs them?

I am not really sure about this as I have no experience with haskell or hackage but from what I found, invalid-cabal-flag-settings is declared when package doesn't declare flags for base. reference.

unbuildable as per it's cabal file is used to "express impossible build configurations" and from what I notice is used most times to say that the package cannot be build on windows.

@Korusuke
Copy link
Member Author

So how should we proceed with this?

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

No branches or pull requests

3 participants