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

Upgrade fails #158

Closed
real-or-random opened this issue Feb 24, 2016 · 6 comments
Closed

Upgrade fails #158

real-or-random opened this issue Feb 24, 2016 · 6 comments

Comments

@real-or-random
Copy link
Contributor

--- Installing helper binaries...
While constructing the BuildPlan the following exceptions were encountered:

--  Failure when adding dependencies:    
      cabal-helper: needed (<0.7 && >=0.6.3.0), 0.6.1.0 found (latest applicable is 0.6.3.1)
    needed for package ghc-mod-5.5.0.0
*** Binary installation failed with error 1. Aborting...

Using resolver lts-5.4 instead of lts-5.2 works fine for me. But I'm not sure if it's just some local issue.

@SX91
Copy link
Contributor

SX91 commented Feb 24, 2016

Remove additional packages from ~/.stack/global-project/stack.yaml (or something like that). Should become packages: []. We don't need them anymore, you need to remove them manually. Then try again (with lts-5.2).

@real-or-random
Copy link
Contributor Author

Thanks. :)

I had the following:

packages: []
extra-deps: [cabal-helper-0.6.1.0, pure-cdb-0.1.1]

So cabal-helper in extra-deps was the issue (not in packages).

I had removed the whole stack.yaml and then tried with the most recent lts. But I see, it works with lts-5.2 too.

@SX91
Copy link
Contributor

SX91 commented Feb 24, 2016

Reopen the issue, please.
We need some message in the end of installation about extra-deps.

@begriffs
Copy link
Owner

Could/should we do an automated sed on the yml file to fix it?

@real-or-random
Copy link
Contributor Author

I think that's the way to go but an additional confirmation by the user could be a good idea.

By the way, I'm not sure whether pure-cdb was added by installing HVM or by some other package.

@jship
Copy link
Collaborator

jship commented Feb 24, 2016

pure-cdb is a transitive dependency for haskell-vim-now because of hscope (at least). pure-cdb is on LTS now, so haskell-vim-now doesn't have to do anything special for it. See beb8ee0.

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

4 participants