On Sun, Feb 5, 2012 at 12:43 AM, Andres Löh <andres.loeh@googlemail.com> wrote:
Hi Conal.
The check currently is entirely ad-hoc. Any reinstallation of an
> Thanks for the reply! Note that I get this message even running 'cabal
> install' a second time after changing nothing. Is that scenario an example
> of what you mean by a "potentially dangerous cabal invocation"?
existing package triggers the warning. There's no hash comparison.
> I've beenThe message appears, but building should work, with --force-reinstall
> unable to avoid this error message by any other means that (a) 'ghc-pkg
> unregister <package>' or (b) '--force-reinstall'. So far, '--solver=modular'
> hasn't helped. So I'm hoping for something less aggressive. In particular,
> in case nothing has changed, I want 'cabal install' to succeed (exit code 0)
> so that my automated build & install & release processes will continue
> rather than get stopped.
and no --dry-run. Can you confirm that you've tried that?
Cheers,
Andres