Open claudeha opened 5 years ago
Do you perhaps have a package-env lying around somewhere? https://downloads.haskell.org/~ghc/master/users-guide/packages.html#package-environments
Yes! that was it! ~/.ghc/x86_64-linux-8.6.3/environments/default
had grenade
listed (twice). I didn't edit that file by hand, I don't know how it was created. Removing the 2 offending lines and cabal
resolved my dependencies and is compiling now. Thanks!
new install of a lib adds to the default environment file.
there may be some issues with that, as i had the same grenade-0.1.0 line twice with different hashes...
should be resolved by https://github.com/haskell/cabal/issues/6481
I'm closing optimistically. Please report in a new ticket (citing this ticket number), if the problem happens again.
Previously I was hacking on
grenade
, usingcabal v1-install
. Now i switch to an unrelated project,et
, andcabal new-install
fails mysteriously, trying and failing to installgrenade
.AFAIK
et
does not depend (even indirectly) upongrenade
.et.cabal
file at https://code.mathr.co.uk/et/blob/6e7517ec34b7693b10f8553f49a8c68b19f20dab:/et.cabalI have tried to wipe all traces of
grenade
from~/.cabal
, but have not quite succeeded:I am using
ghc-8.6.3
.