[email protected]
[Top] [All Lists]

Re: [Haskell-cafe] Re: Why cabal forces reinstallation of happstack-util

Subject: Re: [Haskell-cafe] Re: Why cabal forces reinstallation of happstack-utils?
From: Ivan Lazar Miljenovic
Date: Thu, 06 May 2010 18:19:26 +1000
Henning Thielemann <schlepptop@xxxxxxxxxxxxxxxxxxxxx> writes:
> This makes sense. It would be certainly better if cabal-install would
> alert about the found inconsistency instead of trying to fix it. Then
> there might an additional cabal-install flag, that makes cabal-install
> prefer the output of ghc-pkg over the hackage database 00-index.tar in
> case of inconsistencies.

What do you mean by "prefer the output of ghc-pkg over the hackage
database"?  If there is a broken/invalid dependency chain, then
dependencies _have_ to be rebuilt to fix it.  ghc-pkg, however, doesn't
say _how_ those packages where built or from where.

> Could the problem also be solved by changing the version of packages
> with locally modified cabal files from a.b.c.d to a.b.c.d+1 ?

No, since it will always prefer the highest version, and if its the one
that's broken then it will just complain that that package doens't exist
and will refuse to build what you want.

Ivan Lazar Miljenovic
Haskell-Cafe mailing list

<Prev in Thread] Current Thread [Next in Thread>