Stackage: nightly-2017-08-02 and up doesn't work

Created on 10 Aug 2017  Â·  3Comments  Â·  Source: commercialhaskell/stackage

Trying to use resolver: nightly-2017-08-02 up to resolver: nightly-2017-08-10, I get this error:

Unable to parse cabal file: FromString "This package requires at least Cabal version 2.0" Nothing

I get this with any project, for example this simple project: https://github.com/lamdu/lamdu-calculus

Most helpful comment

Please run stack upgrade, the 1.5.1 release fixed this.

On Thu, Aug 10, 2017, 1:09 PM Yair Chuchem notifications@github.com wrote:

Trying to use resolver: nightly-2017-08-02 up to resolver:
nightly-2017-08-10, I get this error:

Unable to parse cabal file: FromString "This package requires at least Cabal version 2.0" Nothing

I get this with any project, for example this simple project:
https://github.com/lamdu/lamdu-calculus

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fpco/stackage/issues/2742, or mute the thread
https://github.com/notifications/unsubscribe-auth/AADBB2f89ks8UpIn_RJfgbADKI8fSKotks5sWtbygaJpZM4OzN7E
.

All 3 comments

Please run stack upgrade, the 1.5.1 release fixed this.

On Thu, Aug 10, 2017, 1:09 PM Yair Chuchem notifications@github.com wrote:

Trying to use resolver: nightly-2017-08-02 up to resolver:
nightly-2017-08-10, I get this error:

Unable to parse cabal file: FromString "This package requires at least Cabal version 2.0" Nothing

I get this with any project, for example this simple project:
https://github.com/lamdu/lamdu-calculus

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fpco/stackage/issues/2742, or mute the thread
https://github.com/notifications/unsubscribe-auth/AADBB2f89ks8UpIn_RJfgbADKI8fSKotks5sWtbygaJpZM4OzN7E
.

Seems like after the stack upgrade I still have an older stack (1.4.0) at /usr/local/bin/stack which takes precedence. (I'm on macOS 10.12.6, installed stack according to the instructions)
So now after stack upgrade and rm /usr/local/bin/stack stack version does report 1.5.1 .

But now my projects don't build with the updated stack.. I'll investigate and report back.

Alright, with the stack upgrade I can use nightly-2017-08-10. Will file a separate bug for newer stack not building projects built by older stack.
Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

legrostdg picture legrostdg  Â·  7Comments

igrep picture igrep  Â·  3Comments

bergmark picture bergmark  Â·  7Comments

ygale picture ygale  Â·  7Comments

snoyberg picture snoyberg  Â·  7Comments