[Haskell-cafe] cabal doens't forget old dependencies
sjoerd at w3future.com
Wed Jun 27 18:14:17 CEST 2012
Ah, ok. I wasn't aware how flags work in Cabal, thanks.
Makes me wonder why that flag was turned off on hackage.
On Jun 27, 2012, at 5:51 PM, Andres Löh wrote:
>> I tried to install reactive-banana. This failed due to a dependency conflict, and then I noticed there was a newer version of reactive-banana. So I did cabal update, and tried to install again. But whatever I do, cabal keeps trying to install fclabels, but fclabels is no longer a dependency of reactive-banana-0.6.0.0! How can I let cabal forget this dependency?
> From the reactive-banana Cabal file:
> if flag(UseExtensions)
> extensions: TypeFamilies, GADTs, MultiParamTypeClasses,
> BangPatterns, TupleSections,
> build-depends: QuickCheck >= 1.2 && < 2.5,
> fclabels == 1.1.*,
> unordered-containers >= 0.2.1.0 && < 0.3,
> hashable == 1.1.*
> CPP-options: -DUseExtensions
> So try "-f-UseExtensions" if you really want that?
> Andres Löh, Haskell Consultant
> Well-Typed LLP, http://www.well-typed.com
More information about the Haskell-Cafe