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

cabal build after cabal install thinks version has changed #2148

Closed
ghorn opened this issue Oct 7, 2014 · 1 comment
Closed

cabal build after cabal install thinks version has changed #2148

ghorn opened this issue Oct 7, 2014 · 1 comment

Comments

@ghorn
Copy link

ghorn commented Oct 7, 2014

ghorn@cowabunga:~$ cabal --version
cabal-install version 1.20.0.3
using version 1.20.0.0 of the Cabal library
ghorn@cowabunga:~$ cabal unpack acme-lookofdisapproval
Downloading acme-lookofdisapproval-0.1...
Unpacking to acme-lookofdisapproval-0.1/
ghorn@cowabunga:~$ cd acme-lookofdisapproval-0.1/
ghorn@cowabunga:~/acme-lookofdisapproval-0.1$ cabal install
Resolving dependencies...
Configuring acme-lookofdisapproval-0.1...
Building acme-lookofdisapproval-0.1...
Installed acme-lookofdisapproval-0.1
Updating documentation index /home/ghorn/.cabal/share/doc/index.html
ghorn@cowabunga:~/acme-lookofdisapproval-0.1$ cabal build
cabal: You need to re-run the 'configure' command. The version of Cabal being
used has changed (was Cabal-1.18.1.3, now Cabal-1.20.0.0).

Possible duplicate of #1938 / #1953 though I am not in a sandbox

@ghorn ghorn changed the title cabal build thinks version has changed cabal build after cabal install thinks version has changed Oct 7, 2014
@ttuegel
Copy link
Member

ttuegel commented Apr 24, 2015

The cabal install was probably using the Cabal in your user or global package database. You can check ghc-pkg list to see.

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