Twinside / Juicy.Pixels

Haskell library to load & save pictures
BSD 3-Clause "New" or "Revised" License
237 stars 57 forks source link

Shadowed Dependency Problem #143

Closed WendyAnjanette closed 7 years ago

WendyAnjanette commented 7 years ago

I'm trying to install JuicyPixels with this command cabal install JuicyPixels but I'm having this problem: Building library for JuicyPixels-3.2.8.3.. : cannot satisfy -package-id vector-0.12.0.1-6mmeV84KOvJADXavl6mOiY: vector-0.12.0.1-6mmeV84KOvJADXavl6mOiY is unusable due to shadowed dependencies: primitive-0.6.2.0-V0ibjLQDdN6fcQS5bjLVg (use -v for more information)

I'm stuck I'm a beginner in this and I don't have idea how to fix this. Please help.

Twinside commented 7 years ago

I would advise to use the stack tool as a beginner to avoid the dependency/ghc version problems or try to use cabal's sandbox.

These kind of problems are more ghc/cabal related than JuicyPixels.

lehins commented 7 years ago

@WendyAnjanette Looks like you are hitting this issue with Cabal: https://github.com/haskell/cabal/issues/4728