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

Compile error with base < 4.6 #3

Closed
hvr opened this issue Jul 5, 2017 · 2 comments
Closed

Compile error with base < 4.6 #3

hvr opened this issue Jul 5, 2017 · 2 comments

Comments

@hvr
Copy link

hvr commented Jul 5, 2017

Configuring component lib from heap-1.0.3...
Preprocessing library heap-1.0.3...
[1 of 3] Compiling Data.Heap.Internal ( Data/Heap/Internal.hs, /tmp/matrix-worker/1496496621/dist-newstyle/build/x86_64-linux/ghc-7.4.2/heap-1.0.3/build/Data/Heap/Internal.o )

Data/Heap/Internal.hs:36:54:
    Module `Prelude' does not export `foldMap'

I've already revised the meta-data of the affected releases (so there's no immediate need for uploading a new release), see

And while at it, the following ones needed upper bounds tightened:

See also https://matrix.hackage.haskell.org/package/heap to get an overview of heap's install-plan health

@pruvisto
Copy link
Owner

pruvisto commented Jul 7, 2017

Thank you for taking care of this.

I am a bit confused; I have no idea what an ‘install plan’ is and what needs to be done about the heap package now.

@hvr
Copy link
Author

hvr commented Jul 7, 2017

@pruvisto the simplest way to address this, is to tighten the lower bound on base to base >= 4.6 in the Git repo (just so if you ever release a new version of heap to Hackage the meta-data is correct right-away) if you don't care to restore compatibility with base < 4.6.

What I mean by "install plan" is simply the result of the cabal solver when you "cabal install" something; it involves determining (solving for) the set of dependencies, flag settings etc in order to build a package including all required dependencies while satisfying the all declared version constraints.

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