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 sandbox hc-pkg recache (exit code: 1) #113

Open
jacobstanley opened this issue Jun 9, 2016 · 2 comments
Open

cabal sandbox hc-pkg recache (exit code: 1) #113

jacobstanley opened this issue Jun 9, 2016 · 2 comments

Comments

@jacobstanley
Copy link
Contributor

When switching between ghc versions, cabal 1.24 gets confused about the location of the package directory and reports:

Process failed: cabal sandbox hc-pkg recache (exit code: 1)

This can be fixed with cabal configure, mafia should recognise this situation and do it automatically.

@thumphries
Copy link
Contributor

Is there any harm in just running configure every time?

@jacobstanley
Copy link
Contributor Author

not sure yet, I suspect it will rebuild everything

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